diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-01-14 14:58:48 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-01-14 14:58:48 +0100 |
commit | 8af6df394686ead5959e7985cf7fb270772d058e (patch) | |
tree | 987583fc0116aa8bf0335585170d0e449a9e465e /phpBB/styles/prosilver/template/forum_fn.js | |
parent | 9d7acd189713d3d31a6ac347974e1e88c247d21c (diff) | |
parent | 366e8583c88b6a7719b39af43790ab0c55aeada7 (diff) | |
download | forums-8af6df394686ead5959e7985cf7fb270772d058e.tar forums-8af6df394686ead5959e7985cf7fb270772d058e.tar.gz forums-8af6df394686ead5959e7985cf7fb270772d058e.tar.bz2 forums-8af6df394686ead5959e7985cf7fb270772d058e.tar.xz forums-8af6df394686ead5959e7985cf7fb270772d058e.zip |
Merge pull request #4641 from VSEphpbb/ticket/15003
[ticket/15003] Do not check disabled checkboxes with marklist function
Diffstat (limited to 'phpBB/styles/prosilver/template/forum_fn.js')
-rw-r--r-- | phpBB/styles/prosilver/template/forum_fn.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 99f3108fad..d779008f80 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -57,7 +57,7 @@ function marklist(id, name, state) { jQuery('#' + id + ' input[type=checkbox][name]').each(function() { var $this = jQuery(this); - if ($this.attr('name').substr(0, name.length) === name) { + if ($this.attr('name').substr(0, name.length) === name && !$this.prop('disabled')) { $this.prop('checked', state); } }); |