X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/162c461e504567a6725da2e56932d942a1719bdc..810ca091401a19bd050adbbdc241073c8b95cb72:/skins/ckeditor/config.js.py?ds=inline diff --git a/skins/ckeditor/config.js.py b/skins/ckeditor/config.js.py index 3c00463..9467812 100644 --- a/skins/ckeditor/config.js.py +++ b/skins/ckeditor/config.js.py @@ -1,10 +1,4 @@ -##parameters= -from Products.CMFCore.utils import getToolByName -context.REQUEST.RESPONSE.setHeader('content-type', 'application/javascript; charset=utf-8') -utool = getToolByName(context, 'portal_url') - -print """ -/* +/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -28,6 +22,5 @@ CKEDITOR.editorConfig = function( config ) ]; config.height = '500px'; - config.filebrowserBrowseUrl = '%(portal_url)s'; -};""" % {'portal_url' : utool()} -return printed + config.filebrowserBrowseUrl = CKEDITOR.basePath; +}; \ No newline at end of file