[massmailing] need edition.js for the freeezeFormButtons function stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 23 Jul 2010 10:30:10 +0200
branchstable
changeset 6006 54cdc0164193
parent 6005 0300fae1f7cb
child 6007 764d232f201c
[massmailing] need edition.js for the freeezeFormButtons function
web/views/massmailing.py
web/views/treeview.py
--- a/web/views/massmailing.py	Fri Jul 23 17:54:18 2010 +0200
+++ b/web/views/massmailing.py	Fri Jul 23 10:30:10 2010 +0200
@@ -58,7 +58,7 @@
 class MassMailingForm(forms.FieldsForm):
     __regid__ = 'massmailing'
 
-    needs_js = ('cubicweb.widgets.js',)
+    needs_js = ('cubicweb.edition.js', 'cubicweb.widgets.js',)
     needs_css = ('cubicweb.mailform.css')
     domid = 'sendmail'
     action = 'sendmail'
--- a/web/views/treeview.py	Fri Jul 23 17:54:18 2010 +0200
+++ b/web/views/treeview.py	Fri Jul 23 10:30:10 2010 +0200
@@ -95,6 +95,7 @@
             self.w(self.separator)
         entity.view(vid or self.item_vid, w=self.w)
 
+
 class TreeComboBoxView(TreePathView):
     """display folder in edition's combobox"""
     __regid__ = 'combobox'