From: stekkel Date: Fri, 15 Apr 2005 07:36:55 +0000 (+0000) Subject: Make checkbox js working with fancy row highlighting and without it. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=799ee2d583764bbebbaa55bf9c76c65a4f774794;ds=sidebyside 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 --- 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;