From 4bab472a4648ee31ffd2ea182661c606bf789939 Mon Sep 17 00:00:00 2001 From: nac26 Date: Mon, 6 Dec 2010 16:37:01 +0000 Subject: [PATCH] temporary fix to ensure jquery is called for custom forms while I'm monkeying around to ensure consistency in markup across 3 base templates --- productMods/edit/formPrefix.jsp | 1 + productMods/edit/formSuffix.jsp | 1 - themes/wilma/templates/edit/formPrefix.jsp | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/productMods/edit/formPrefix.jsp b/productMods/edit/formPrefix.jsp index 86ce1167..2d2811ab 100644 --- a/productMods/edit/formPrefix.jsp +++ b/productMods/edit/formPrefix.jsp @@ -40,6 +40,7 @@ FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request); "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + <% String useTinyMCE = (useTinyMCE=request.getParameter("useTinyMCE")) != null && !(useTinyMCE.equals("")) ? useTinyMCE : "false"; if (useTinyMCE.equalsIgnoreCase("true")) { diff --git a/productMods/edit/formSuffix.jsp b/productMods/edit/formSuffix.jsp index bce8c444..c2ca72b1 100644 --- a/productMods/edit/formSuffix.jsp +++ b/productMods/edit/formSuffix.jsp @@ -46,7 +46,6 @@ FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request); - diff --git a/themes/wilma/templates/edit/formPrefix.jsp b/themes/wilma/templates/edit/formPrefix.jsp index 77dcac59..e4b6a95e 100644 --- a/themes/wilma/templates/edit/formPrefix.jsp +++ b/themes/wilma/templates/edit/formPrefix.jsp @@ -42,7 +42,8 @@ FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request); - + +