[Rt-commit] r7749 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Wed May 2 17:33:44 EDT 2007


Author: ruz
Date: Wed May  2 17:33:42 2007
New Revision: 7749

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Elements/CollectionAsTable/Header
   rt/branches/3.7-EXPERIMENTAL/html/Elements/CollectionAsTable/Row

Log:
 r5211 at cubic-pc:  cubic | 2007-05-03 01:24:14 +0400
 * switch to generic ColumnMap


Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/CollectionAsTable/Header
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/CollectionAsTable/Header	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/CollectionAsTable/Header	Wed May  2 17:33:42 2007
@@ -92,10 +92,10 @@
     $m->out('<th class="collection-as-table">');
 
     $title =~ s/^__(.*)__$/$1/o;
-    my $tmp = $m->comp(
-        "/Elements/$Class/ColumnMap",
-        Name => $title,
-        Attr => 'title',
+    my $tmp = $m->comp( '/Elements/ColumnMap',
+        Class => $Class,
+        Name  => $title,
+        Attr  => 'title',
     );
 
     unless( $tmp ) {

Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/CollectionAsTable/Row
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/CollectionAsTable/Row	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/CollectionAsTable/Row	Wed May  2 17:33:42 2007
@@ -88,9 +88,10 @@
         my $col = $1;
         unless ( exists $ColumnMap->{ $col } ) {
             $ColumnMap->{ $col } = $m->comp(
-                "/Elements/$Class/ColumnMap",
-                Name => $col,
-                Attr => 'value'
+                "/Elements/ColumnMap",
+                Class => $Class,
+                Name  => $col,
+                Attr  => 'value'
             );
         }
 


More information about the Rt-commit mailing list