[Rt-commit] r8938 - rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form

ruz at bestpractical.com ruz at bestpractical.com
Wed Sep 5 10:27:44 EDT 2007


Author: ruz
Date: Wed Sep  5 10:27:44 2007
New Revision: 8938

Modified:
   rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Boolean

Log:
* set value of true part of boolean checkbox

Modified: rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Boolean
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Boolean	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Boolean	Wed Sep  5 10:27:44 2007
@@ -69,7 +69,7 @@
 </%ARGS>
 % unless ( $Default ) {
 <input type="hidden" name="<% $Name %>" value="0" />\
-<input type="checkbox" name="<% $Name %>" <% $CurrentValue? 'checked="checked"': '' %> />\
+<input type="checkbox" name="<% $Name %>" value="1" <% $CurrentValue? 'checked="checked"': '' %> />\
 % } else {
 <input type="radio" name="<% $Name %>" value="1" <% $CurrentValue? 'checked="checked"': '' %> />\
 <% loc('Yes') %>


More information about the Rt-commit mailing list