[Rt-commit] r7458 - in rt/branches/3.7-EXPERIMENTAL: html/Widgets/Form

ruz at bestpractical.com ruz at bestpractical.com
Wed Apr 4 17:52:59 EDT 2007


Author: ruz
Date: Wed Apr  4 17:52:58 2007
New Revision: 7458

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Boolean

Log:
 r4891 at cubic-pc:  cubic | 2007-04-04 17:04:46 +0400
 * fix empty value handling


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 Apr  4 17:52:58 2007
@@ -25,7 +25,7 @@
 <% loc('Yes') %>
 <input type="radio" name="<% $Name %>" value="0" <% defined $CurrentValue && !$CurrentValue? 'checked="checked"': '' %> />\
 <% loc('No') %>
-<input type="radio" name="<% $Name %>" value="" <% !defined $CurrentValue? 'checked="checked"': '' %> />\
+<input type="radio" name="<% $Name %>" value="__empty_value__" <% !defined $CurrentValue? 'checked="checked"': '' %> />\
 <% $EmptyLabel %>
 % }
 </%METHOD>


More information about the Rt-commit mailing list