Code

Updated js
[gosa.git] / include / class_ObjectListViewport.inc
index d7386fd12fb8d1eb41ca27d7273220c970790801..3ec96e99538c13fc62179b7a0e776ea28d2db68d 100644 (file)
@@ -195,13 +195,14 @@ class ObjectListViewport {
       }
     }
 
+    /* Add class depending on given id, to alternate background colors */
     if($this->colorAlternator++ & 1){
       $a = "class='ObjectListViewport_Entry_Row1'";
     }else{
       $a = "class='ObjectListViewport_Entry_Row2'";
     }
 
-    return "<tr ".$a.">".$buffer."</tr>\n";
+    return "<tr ".$a.">\n".$buffer."</tr>\n";
   }