# HG changeset patch
# User sylvain.thenault@logilab.fr
# Date 1239809028 -7200
# Node ID 39a3bc7899d591a179c4ae73c4abefc7d2afd1da
# Parent 3acc823121b6366fe2ae1db5e05abffe0c079fe3
avoid duplicated progress div
diff -r 3acc823121b6 -r 39a3bc7899d5 web/views/eproperties.py
--- a/web/views/eproperties.py Wed Apr 15 17:23:26 2009 +0200
+++ b/web/views/eproperties.py Wed Apr 15 17:23:48 2009 +0200
@@ -108,6 +108,8 @@
req = self.req
_ = req._
w(u'
%s
\n' % _(self.title))
+ # we don't want this in each sub-forms
+ w(u'%s
' % self.req._('validating...'))
for label, group, form in sorted((_(g), g, f)
for g, f in mainopts.iteritems()):
status = css_class(self._group_status(group))
@@ -173,7 +175,7 @@
form.form_add_hidden('__redirectpath', path)
for key in keys:
self.form_row(form, key, splitlabel)
- return form.form_render()
+ return form.form_render(display_progress_div=False)
def form_row(self, form, key, splitlabel):
entity = self.entity_for_key(key)