no progress div in reledit, else we get duplicated ids tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 15 Apr 2009 17:24:12 +0200
branchtls-sprint
changeset 1366 fd5bd1a63c3f
parent 1365 39a3bc7899d5
child 1367 01bb5b727fe3
no progress div in reledit, else we get duplicated ids
web/views/editforms.py
--- a/web/views/editforms.py	Wed Apr 15 17:23:48 2009 +0200
+++ b/web/views/editforms.py	Wed Apr 15 17:24:12 2009 +0200
@@ -118,7 +118,8 @@
                                        cssstyle='display: none',
                                        onsubmit=self.onsubmit % locals())
         renderer = FormRenderer(display_label=False, display_help=False,
-                                display_fields=(rtype,), button_bar_class='buttonbar')
+                                display_fields=(rtype,), button_bar_class='buttonbar',
+                                display_progress_div=False)
         self.w(tags.div(value, klass='editableField', id=divid,
                         ondblclick=self.ondblclick % locals()))
         self.w(form.form_render(renderer=renderer))