From 8525426763cdf8b6b451d91a00b11825fe303536 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Tue, 10 Oct 2017 12:36:47 +0200 Subject: [PATCH] Only unselect any option in mulselect when select any and others at the same time - #1266 --- pandora_console/godmode/massive/massive_delete_modules.php | 2 -- pandora_console/godmode/massive/massive_edit_modules.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/pandora_console/godmode/massive/massive_delete_modules.php b/pandora_console/godmode/massive/massive_delete_modules.php index e271a37132..6009d1b9b8 100755 --- a/pandora_console/godmode/massive/massive_delete_modules.php +++ b/pandora_console/godmode/massive/massive_delete_modules.php @@ -799,7 +799,6 @@ $(document).ready (function () { var others = true; } if(any && others){ - document.forms["form_modules"].agents[i].selected = false; document.forms["form_modules"].agents[0].selected = false; } } @@ -815,7 +814,6 @@ $(document).ready (function () { var others = true; } if(any && others){ - document.forms["form_modules"].module[i].selected = false; document.forms["form_modules"].module[0].selected = false; } } diff --git a/pandora_console/godmode/massive/massive_edit_modules.php b/pandora_console/godmode/massive/massive_edit_modules.php index ff2143e80e..1550e0be93 100755 --- a/pandora_console/godmode/massive/massive_edit_modules.php +++ b/pandora_console/godmode/massive/massive_edit_modules.php @@ -1098,7 +1098,6 @@ $(document).ready (function () { var others = true; } if(any && others){ - document.forms["form_edit"].agents[i].selected = false; document.forms["form_edit"].agents[0].selected = false; } } @@ -1114,7 +1113,6 @@ $(document).ready (function () { var others = true; } if(any && others){ - document.forms["form_edit"].module[i].selected = false; document.forms["form_edit"].module[0].selected = false; } }