aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/forum_fn.js
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-14 14:58:48 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-01-14 14:58:48 +0100
commit8af6df394686ead5959e7985cf7fb270772d058e (patch)
tree987583fc0116aa8bf0335585170d0e449a9e465e /phpBB/styles/prosilver/template/forum_fn.js
parent9d7acd189713d3d31a6ac347974e1e88c247d21c (diff)
parent366e8583c88b6a7719b39af43790ab0c55aeada7 (diff)
downloadforums-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.js2
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);
}
});