[Rt-commit] r13012 - in rt/branches/3.8-TESTING: . share/html/Search/Elements

jesse at bestpractical.com jesse at bestpractical.com
Sat Jun 7 00:17:37 EDT 2008


Author: jesse
Date: Sat Jun  7 00:17:27 2008
New Revision: 13012

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/share/html/Search/Elements/EditQuery
   rt/branches/3.8-TESTING/share/html/Search/Elements/EditSearches
   rt/branches/3.8-TESTING/share/html/Widgets/SelectionBox

Log:
 r32430 at 31b:  jesse | 2008-06-07 00:10:29 -0400
 Removing a : and warnings avoidance


Modified: rt/branches/3.8-TESTING/share/html/Search/Elements/EditQuery
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Search/Elements/EditQuery	(original)
+++ rt/branches/3.8-TESTING/share/html/Search/Elements/EditQuery	Sat Jun  7 00:17:27 2008
@@ -64,7 +64,7 @@
 
 </&>
 <%ARGS>
-$Description => ''
+$Description => undef
 $optionlist => ''
 $actions => []
 </%ARGS>

Modified: rt/branches/3.8-TESTING/share/html/Search/Elements/EditSearches
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Search/Elements/EditSearches	(original)
+++ rt/branches/3.8-TESTING/share/html/Search/Elements/EditSearches	Sat Jun  7 00:17:27 2008
@@ -57,7 +57,7 @@
 % }
 <br />
 <&|/l&>Description</&>:
-<input size="25" name="SavedSearchDescription" value="<% $Description %>" />
+<input size="25" name="SavedSearchDescription" value="<% $Description || '' %>" />
 
 % if ($Id ne 'new') {
 <nobr>
@@ -144,7 +144,7 @@
 <%INIT>
 
 $SavedSearch->{'Id'}          = $ARGS{'SavedSearchId'}          || 'new';
-$SavedSearch->{'Description'} = $ARGS{'SavedSearchDescription'} || '';
+$SavedSearch->{'Description'} = $ARGS{'SavedSearchDescription'} || undef;
 
 my @results;
 

Modified: rt/branches/3.8-TESTING/share/html/Widgets/SelectionBox
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Widgets/SelectionBox	(original)
+++ rt/branches/3.8-TESTING/share/html/Widgets/SelectionBox	Sat Jun  7 00:17:27 2008
@@ -202,7 +202,7 @@
 % if (exists $selected{$_}) {
 selected="selected"
 % }
-><% $self->{_item_map}{$_} %></option>
+><% $self->{_item_map}{$_} ||'' %></option>
 % }
 </select>
 % unless ($ARGS{'NoArrows'}) {


More information about the Rt-commit mailing list