[Rt-commit] r4393 - in rt/branches/3.5-TESTING: .

kevinr at bestpractical.com kevinr at bestpractical.com
Tue Jan 17 00:48:10 EST 2006


Author: kevinr
Date: Tue Jan 17 00:48:10 2006
New Revision: 4393

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/html/Elements/EditCustomFieldSelect

Log:
 r10381 at SAD-GIRL-IN-SNOW:  kevinr | 2006-01-17 00:23:29 -0500
 * Applied Jim Meyer's patch to fix the indentation of 
 Elements/EditCustomFieldSelect


Modified: rt/branches/3.5-TESTING/html/Elements/EditCustomFieldSelect
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/EditCustomFieldSelect	(original)
+++ rt/branches/3.5-TESTING/html/Elements/EditCustomFieldSelect	Tue Jan 17 00:48:10 2006
@@ -85,26 +85,26 @@
 % my $CFVs = $CustomField->Values;
 % my @levels;
 % while ($CFVs and my $value = $CFVs->Next ) {
-%       my $category = $value->Category;
-%       if (1) { # length $category) {
-%           my $level = (split(/:/, $category))[0];
-%           while (@levels) {
-%               if ($levels[-1] eq $level) {
-%                   undef $level;
-%                   last;
-%               } elsif (index($level, $levels[-1]) != 0) {
+%     my $category = $value->Category;
+%     if (1) { # length $category) {
+%         my $level = (split(/:/, $category))[0];
+%         while (@levels) {
+%             if ($levels[-1] eq $level) {
+%                 undef $level;
+%                 last;
+%             } elsif (index($level, $levels[-1]) != 0) {
         </optgroup>
-%                   pop @levels;
-%               } else {
-%                   last;
-%               }
-%           }
-%           if (length $level) {
-%               push @$CategoryRef, [0+ at levels, $level];
+%                 pop @levels;
+%             } else {
+%                 last;
+%             }
+%         }
+%         if (length $level) {
+%             push @$CategoryRef, [0+ at levels, $level];
         <optgroup style="padding-left: <% @levels/2 %>em" label="<%$category%>">
-%               push @levels, $level;
-%           }
-%       }
+%             push @levels, $level;
+%         }
+%     }
         <option value="<%$value->Name%>" 
 % if ($Values) {
             <% $Values->HasEntry($value->Name) && ($$SelectedRef = 1) && 'SELECTED' %>


More information about the Rt-commit mailing list