web/request.py
branchtls-sprint
changeset 890 3530baff9120
parent 662 6f867ab70e3d
child 940 15dcdc863965
--- a/web/request.py	Fri Feb 20 10:38:41 2009 +0100
+++ b/web/request.py	Fri Feb 20 15:06:59 2009 +0100
@@ -265,9 +265,10 @@
     
     @cached # so it's writed only once
     def fckeditor_config(self):
+        self.add_js('fckeditor/fckeditor.js')
         self.html_headers.define_var('fcklang', self.lang)
         self.html_headers.define_var('fckconfigpath',
-                                     self.build_url('data/fckcwconfig.js'))
+                                     self.build_url('data/cubicweb.fckcwconfig.js'))
 
     def edited_eids(self, withtype=False):
         """return a list of edited eids"""