1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15003] Do not check disabled checkboxes with marklist function

PHPBB3-15003
This commit is contained in:
Matt Friedman
2017-01-13 12:00:31 -08:00
parent 9d7acd1897
commit 366e8583c8
5 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ function marklist(id, name, state)
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
if (rb[r].name.substr(0, name.length) == name && rb[r].disabled !== true)
{
rb[r].checked = state;
}