[Mpuls-commits] r4996 - in base/trunk: . mpulsweb/templates/evaluation

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue May 24 13:19:07 CEST 2011


Author: bh
Date: 2011-05-24 13:19:06 +0200 (Tue, 24 May 2011)
New Revision: 4996

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/evaluation/evaluate.mako
Log:
* mpulsweb/templates/evaluation/evaluate.mako: Use disable instead
of readonly to gray out options. readonly only works for text
input elements.
Last part of the fix for mpuls/issue1744


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-05-24 11:17:01 UTC (rev 4995)
+++ base/trunk/ChangeLog	2011-05-24 11:19:06 UTC (rev 4996)
@@ -1,5 +1,12 @@
 2011-05-24  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/templates/evaluation/evaluate.mako: Use disable instead
+	of readonly to gray out options. readonly only works for text
+	input elements.
+	Last part of the fix for mpuls/issue1744
+
+2011-05-24  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/controllers/evaluate.py
 	(EvaluateController.evaluateAction): Make sure to the correct
 	predefined options for adele evaluations.

Modified: base/trunk/mpulsweb/templates/evaluation/evaluate.mako
===================================================================
--- base/trunk/mpulsweb/templates/evaluation/evaluate.mako	2011-05-24 11:17:01 UTC (rev 4995)
+++ base/trunk/mpulsweb/templates/evaluation/evaluate.mako	2011-05-24 11:19:06 UTC (rev 4996)
@@ -16,7 +16,7 @@
 <form action="${h.url_for(controller='/evaluate', action='evaluateAction')}" method="POST" target="_blank">
 <% 
    if c.adele_evaluation:
-       adele_disabled = h.literal('readonly="readonly"')
+       adele_disabled = h.literal('disabled="disabled"')
    else:
        adele_disabled = ""
 %>



More information about the Mpuls-commits mailing list