[Rt-commit] r7456 - in rt/branches/3.7-EXPERIMENTAL:
html/Widgets/Form
ruz at bestpractical.com
ruz at bestpractical.com
Wed Apr 4 17:52:33 EDT 2007
Author: ruz
Date: Wed Apr 4 17:52:32 2007
New Revision: 7456
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Integer
Log:
r4889 at cubic-pc: cubic | 2007-04-04 14:58:36 +0400
* get rid of Integer- prefix in name
Modified: rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Integer
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Integer (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Widgets/Form/Integer Wed Apr 4 17:52:32 2007
@@ -1,6 +1,6 @@
<div id="form-box-<% lc $Name %>">
<span class="description"><% $Description %></span>:
-<input type="text" name="Integer-<% $Name %>" value="<% $CurrentValue || '' %>" />
+<input type="text" name="<% $Name %>" value="<% $CurrentValue || '' %>" />
% if ( $Empty ) {
<span class="comment"><% $EmptyLabel %></span>
% }
@@ -27,7 +27,7 @@
$Empty => 0,
</%ARGS>
<%INIT>
-my $value = $Arguments->{ "Integer-$Name" };
+my $value = $Arguments->{ $Name };
if ( !defined $value || $value eq '' ) {
return $CurrentValue unless $Empty;
return undef;
More information about the Rt-commit
mailing list