--- a/web/widgets.py Fri Feb 20 10:38:41 2009 +0100
+++ b/web/widgets.py Fri Feb 20 15:06:59 2009 +0100
@@ -391,11 +391,7 @@
if not entity.has_eid():
return u''
return entity.printable_value(self.name)
-
- def add_fckeditor_info(self, req):
- req.add_js('fckeditor.js')
- req.fckeditor_config()
-
+
def _edit_render(self, entity, with_format=True):
req = entity.req
editor = self._edit_render_textarea(entity, with_format)
@@ -411,7 +407,7 @@
if isinstance(dvalue, basestring):
dvalue = html_escape(dvalue)
if entity.use_fckeditor(self.name):
- self.add_fckeditor_info(entity.req)
+ entity.req.fckeditor_config()
if with_format:
if entity.has_eid():
format = entity.format(self.name)