From e0b57c6254d425861cb58ae25732ee2dd450d3f8 Mon Sep 17 00:00:00 2001 From: avel Date: Wed, 28 Apr 2004 12:21:21 +0000 Subject: [PATCH] Instead of excluding one checkbox at a time, only check what should be checked by Toggle All. This will allow plugins to probably put some more checkboxes (like plugin move_all_messages). Of course, the Toggle All link needs to be restored at some point too. (When did that go away in -DEVEL?) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7297 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index b7185e0c..c010ba8a 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -1156,7 +1156,7 @@ function get_selectall_link($start_msg, $sort, $mailbox) { . "function " . $func_name . "() {\n" . " for (var i = 0; i < document." . $form_name . ".elements.length; i++) {\n" . " if(document." . $form_name . ".elements[i].type == 'checkbox' && " - . "document." . $form_name . ".elements[i].name != 'bypass_trash'){\n" + . " document." . $form_name . ".elements[i].name.substring(0,3) == 'msg'){\n" . " document." . $form_name . ".elements[i].checked = " . " !(document." . $form_name . ".elements[i].checked);\n" . " }\n" -- 2.25.1