[Mpuls-commits] r1977 - in waska/trunk: . waskaweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Mar 16 16:05:11 CET 2010
Author: roland
Date: 2010-03-16 16:05:09 +0100 (Tue, 16 Mar 2010)
New Revision: 1977
Modified:
waska/trunk/ChangeLog
waska/trunk/waskaweb/lib/renderer.py
Log:
Fix rendering of hidden fields
Modified: waska/trunk/ChangeLog
===================================================================
--- waska/trunk/ChangeLog 2010-03-16 11:54:37 UTC (rev 1976)
+++ waska/trunk/ChangeLog 2010-03-16 15:05:09 UTC (rev 1977)
@@ -1,3 +1,8 @@
+2010-03-16 Roland Geider <roland.geider at intevation.de>
+
+ Fix missing ">" in hidden fields
+ * waskaweb/lib/renderer.py: Fix missing ">" in hidden fields
+
2010-03-10 Torsten Irländer <torsten.irlaender at intevation.de>
Updated date in versionstring
@@ -5,7 +10,7 @@
* waskaweb/i18n/de/LC_MESSAGES/waskaweb.po,
waskaweb/i18n/de/LC_MESSAGES/waskaweb.mo: Set date
-2010-03-11 Roland Geider <roland.geider at intevation.de>
+2010-03-11 Roland Geider <roland.geider at intevation.de>
Backported the isset operator for the formed tree
Modified: waska/trunk/waskaweb/lib/renderer.py
===================================================================
--- waska/trunk/waskaweb/lib/renderer.py 2010-03-16 11:54:37 UTC (rev 1976)
+++ waska/trunk/waskaweb/lib/renderer.py 2010-03-16 15:05:09 UTC (rev 1977)
@@ -534,8 +534,8 @@
display_mode = ""
if self.disabled_mode:
display_mode = "disabled"
- # Add hidden field to not loose formdata
- out.append('<input type="hidden" %s value="%s"' % (name, data))
+ # Add hidden field to not lose formdata
+ out.append('<input type="hidden" %s value="%s">' % (name, data))
multiple = multiple and "multiple" or ""
@@ -722,7 +722,7 @@
out.append('<textarea class="%s" %s %s %s %s>%s</textarea><br>\n' % (
" ".join(css_class), name, rows, cols, SET_MODIFICATION, value))
else:
- out.append('<input type="hidden" %s value="%s"' % (name, value))
+ out.append('<input type="hidden" %s value="%s">' % (name, value))
value = value.replace('\r\n', '<br>')
value = value.replace('\n', '<br>')
value = value.replace('\r', '<br>')
@@ -757,7 +757,7 @@
display_mode = "readonly"
if self.disabled_mode:
- out.append('<input type="hidden" %s value="%s"' % (name, data))
+ out.append('<input type="hidden" %s value="%s">' % (name, data))
display_mode = "disabled"
if error:
@@ -802,7 +802,7 @@
display_mode = "readonly"
if self.disabled_mode:
- out.append('<input type="hidden" %s value="%s"' % (name, data))
+ out.append('<input type="hidden" %s value="%s">' % (name, data))
display_mode = "disabled"
@@ -852,7 +852,7 @@
display_mode = "readonly"
if self.disabled_mode:
- out.append('<input type="hidden" %s value="%s"' % (name, data))
+ out.append('<input type="hidden" %s value="%s">' % (name, data))
display_mode = "disabled"
More information about the Mpuls-commits
mailing list