From 9dfab51595d75a10abffc8e7cee11541898b2639 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Fri, 24 Aug 2007 21:11:21 +0000 Subject: [PATCH] Fix spacing. Totally pedantic. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12595 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/js/default.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/default/js/default.js b/templates/default/js/default.js index ec3d24b1..c7cbab66 100644 --- a/templates/default/js/default.js +++ b/templates/default/js/default.js @@ -95,11 +95,11 @@ function rowOver(chkboxName) { * @param string new color of the checked rows */ function toggle_all(formname, fancy) { - TargetForm = document.getElementById(formname); - j = 0; - for (var i = 0; i < TargetForm.elements.length; i++) { - if (TargetForm.elements[i].type == 'checkbox' && TargetForm.elements[i].name.substring(0,3) == 'msg') { - if (fancy) { + TargetForm = document.getElementById(formname); + j = 0; + for (var i = 0; i < TargetForm.elements.length; i++) { + if (TargetForm.elements[i].type == 'checkbox' && TargetForm.elements[i].name.substring(0,3) == 'msg') { + if (fancy) { array_key = TargetForm.elements[i].getAttribute('id'); // initialize orig_row_color if not defined already if (!orig_row_colors[array_key]) { @@ -114,8 +114,8 @@ function toggle_all(formname, fancy) { j++ } TargetForm.elements[i].checked = !(TargetForm.elements[i].checked); - } - } + } + } } /* -- 2.25.1