From 799ee2d583764bbebbaa55bf9c76c65a4f774794 Mon Sep 17 00:00:00 2001 From: stekkel Date: Fri, 15 Apr 2005 07:36:55 +0000 Subject: [PATCH] Make checkbox js working with fancy row highlighting and without it. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9287 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/message_list.tpl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl index faf6e6e0..bb155e86 100644 --- a/templates/default/message_list.tpl +++ b/templates/default/message_list.tpl @@ -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; -- 2.25.1