[Mpuls-commits] r3153 - in base/trunk: . mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 7 16:41:20 CEST 2010


Author: roland
Date: 2010-07-07 16:41:18 +0200 (Wed, 07 Jul 2010)
New Revision: 3153

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/renderer.py
Log:
don't use width atribute for inputs of type image

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-07-07 13:40:27 UTC (rev 3152)
+++ base/trunk/ChangeLog	2010-07-07 14:41:18 UTC (rev 3153)
@@ -5,7 +5,12 @@
 	it in a h.literal.
 
 2010-07-06  Bernhard Herzog  <bh at intevation.de>
+	
+	* mpulsweb/lib/renderer.py: don't use width atribute for inputs
+	  of type image as it is incorrect HTML
 
+2010-07-06  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/templates/casemanagement/caselist.mako (fields): Format
 	the values using the new format_object function.  This makes sure
 	that shorten is always called with a string and that date objects

Modified: base/trunk/mpulsweb/lib/renderer.py
===================================================================
--- base/trunk/mpulsweb/lib/renderer.py	2010-07-07 13:40:27 UTC (rev 3152)
+++ base/trunk/mpulsweb/lib/renderer.py	2010-07-07 14:41:18 UTC (rev 3153)
@@ -400,7 +400,7 @@
             out.append('<tr>')
             out.append('<td class="hcontrol" style="text-align: right;"'
                        ' colspan="2">')
-            out.append(tag("input", width="16", name="add_rg", type="image",
+            out.append(tag("input", name="add_rg", type="image",
                            src=icon("new_16.png"), value=node.getIdentifier(),
                            alt=_('Add new RG'), title=_('Add new RG')))
             out.append("</td>")



More information about the Mpuls-commits mailing list