Author: jleroux
Date: Sat Jan 29 23:45:10 2011
New Revision: 1065147
URL:
http://svn.apache.org/viewvc?rev=1065147&view=revLog:
A patch from René Scheibe "Incorrect CSS path for elRTE editor." (
https://issues.apache.org/jira/browse/OFBIZ-4157) - OFBIZ-4157
The path to elrte-inner.css is incorrect when starting the editor.
The result is that in the WYSIWYG view eg. div and tables are not surrounded with a small blue border.
The problem is also visible in the logs: "Unknown request [css]; this request does not exist or cannot be called directly."
JLR: I checked this was the sole issue for elrte-inner.css
Modified:
ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl
Modified: ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl?rev=1065147&r1=1065146&r2=1065147&view=diff==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl Sat Jan 29 23:45:10 2011
@@ -367,7 +367,7 @@ var rawdata_errors = [
height : 350,
toolbar : 'maxi',
doctype : '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">', //'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">',
- cssfiles : ['css/elrte-inner.css']
+ cssfiles : ['/images/jquery/plugins/elrteEditor/css/elrte-inner.css']
}
jQuery('#cmseditor').elrte(opts);
}