[Rt-commit] r4631 - in rt/branches/3.7-EXPERIMENTAL: . html/Elements html/Prefs html/Widgets/Form lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Thu Mar 2 11:24:25 EST 2006


Author: ruz
Date: Thu Mar  2 11:24:20 2006
New Revision: 4631

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in
   rt/branches/3.7-EXPERIMENTAL/html/Elements/MessageBox
   rt/branches/3.7-EXPERIMENTAL/html/Prefs/Other.html
   rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Boolean
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Date.pm

Log:


Modified: rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in
==============================================================================

Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/MessageBox
==============================================================================

Modified: rt/branches/3.7-EXPERIMENTAL/html/Prefs/Other.html
==============================================================================

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	Thu Mar  2 11:24:20 2006
@@ -1,15 +1,14 @@
 <div id="form-box-<% lc $Name %>">
 <span class="description"><% $Description %></span>:
-<input type="checkbox" name="Boolean-<% $Name %>" <% $value && 'checked' %>" />
+<input type="checkbox" name="Boolean-<% $Name %>" <% $CurrentValue && 'checked' %>" />
 </div>
 <%INIT>
-my $value = defined $CurrentValue ? $CurrentValue : $EmptyValue;
 </%INIT>
 <%ARGS>
 $Name         => undef,
 $Description  => undef,
-$EmptyValue   => 0,
-$CurrentValue => undef,
+
+$CurrentValue => 0,
 </%ARGS>
 
 <%METHOD Process>

Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Date.pm
==============================================================================


More information about the Rt-commit mailing list