Make checkbox js working with fancy row highlighting and without it.
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 15 Apr 2005 07:36:55 +0000 (07:36 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 15 Apr 2005 07:36:55 +0000 (07:36 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9287 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/message_list.tpl

index faf6e6e..bb155e8 100644 (file)
@@ -269,9 +269,10 @@ else
                 //
                 //$clickedColor = '';
                 $clickedColor = (!empty($color[16])) ? $color[16] : $color[2];
-            }
-            if ($javascript_on) {
-//                $checkbox_javascript = ' onClick="this.checked = !this.checked;"';
+
+                $checkbox_javascript = ' onClick="this.checked = !this.checked;"';
+            } else {
+                $checkbox_javascript = '';
             }
             foreach ($aMessages as $iUid => $aMsg) {
                 echo $sLine;