projects
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
On repasse à js.
[ckeditor.git]
/
skins
/
ckeditor
/
config.js.py
diff --git
a/skins/ckeditor/config.js.py
b/skins/ckeditor/config.js.py
index
3c00463
..
9467812
100644
(file)
--- a/
skins/ckeditor/config.js.py
+++ b/
skins/ckeditor/config.js.py
@@
-1,10
+1,4
@@
-##parameters=
\r
-from Products.CMFCore.utils import getToolByName
\r
-context.REQUEST.RESPONSE.setHeader('content-type', 'application/javascript; charset=utf-8')
\r
-utool = getToolByName(context, 'portal_url')
\r
-
\r
-print """
\r
-/*
\r
+/*
\r
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
@@
-28,6
+22,5
@@
CKEDITOR.editorConfig = function( config )
];
\r
\r
config.height = '500px';
\r
];
\r
\r
config.height = '500px';
\r
- config.filebrowserBrowseUrl =
'%(portal_url)s'
;
\r
-};
""" % {'portal_url' : utool()}
\r
-return printed
\r
+ config.filebrowserBrowseUrl =
CKEDITOR.basePath
;
\r
+};
\ No newline at end of file