# HG changeset patch # User Sylvain Thénault # Date 1279873810 -7200 # Node ID 54cdc01641931699a59820eff41773d4800daa64 # Parent 0300fae1f7cbf3be19681c68a8161626e40cf4e8 [massmailing] need edition.js for the freeezeFormButtons function diff -r 0300fae1f7cb -r 54cdc0164193 web/views/massmailing.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' diff -r 0300fae1f7cb -r 54cdc0164193 web/views/treeview.py --- 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'