Author: adrianc
Date: Wed Dec 28 16:39:56 2011
New Revision: 1225224
URL:
http://svn.apache.org/viewvc?rev=1225224&view=revLog:
Fixup for my previous commit. Browsers should not parse the contents of CDATA elements, but apparently they do.
Modified:
ofbiz/trunk/framework/common/webcommon/includes/lookup.ftl
Modified: ofbiz/trunk/framework/common/webcommon/includes/lookup.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/lookup.ftl?rev=1225224&r1=1225223&r2=1225224&view=diff==============================================================================
--- ofbiz/trunk/framework/common/webcommon/includes/lookup.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/includes/lookup.ftl Wed Dec 28 16:39:56 2011
@@ -33,7 +33,7 @@ under the License.
if (typeof(jQuery) == 'undefined') {
if (!jQueryLibLoaded) {
jQueryLibLoaded = true;
- document.write("<script type=\"text/javascript\" src=\"<@ofbizContentUrl>/images/jquery/jquery-1.7.min.js</@ofbizContentUrl>\"></script>");
+ document.write("<scr" + "ipt type=\"text/javascript\" src=\"<@ofbizContentUrl>/images/jquery/jquery-1.7.min.js</@ofbizContentUrl>\"></scr" + "ipt>");
}
setTimeout("initJQuery()", 50);
}