From: pdontthink Date: Mon, 14 Mar 2005 21:10:54 +0000 (+0000) Subject: Another minor fix to get auto-clicking on rows on mailbox list working X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8168dff9c2cc3dd90d8ee22a897d1a7d768ee076;p=squirrelmail.git Another minor fix to get auto-clicking on rows on mailbox list working git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9019 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 9e0b1c93..44f9b638 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -323,7 +323,7 @@ function printMessageInfo($aMsg) { // where on the row you click // if ($javascript_on) - $javascript_auto_click = ' onMouseDown="if (document.getElementById(msg[' . $t . '])) { document.getElementById(msg[' . $t . ']).checked = (document.getElementById(msg[' . $t . ']).checked ? false : true); }"'; + $javascript_auto_click = ' onMouseDown="if (document.getElementById(\'msg[' . $t . ']\')) { document.getElementById(\'msg[' . $t . ']\').checked = (document.getElementById(\'msg[' . $t . ']\').checked ? false : true); }"'; if (sizeof($index_order)) {