aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2017-01-13 12:00:31 -0800
committerMatt Friedman <maf675@gmail.com>2017-01-13 12:00:31 -0800
commit366e8583c88b6a7719b39af43790ab0c55aeada7 (patch)
tree987583fc0116aa8bf0335585170d0e449a9e465e /phpBB/styles/prosilver
parent9d7acd189713d3d31a6ac347974e1e88c247d21c (diff)
downloadforums-366e8583c88b6a7719b39af43790ab0c55aeada7.tar
forums-366e8583c88b6a7719b39af43790ab0c55aeada7.tar.gz
forums-366e8583c88b6a7719b39af43790ab0c55aeada7.tar.bz2
forums-366e8583c88b6a7719b39af43790ab0c55aeada7.tar.xz
forums-366e8583c88b6a7719b39af43790ab0c55aeada7.zip
[ticket/15003] Do not check disabled checkboxes with marklist function
PHPBB3-15003
Diffstat (limited to 'phpBB/styles/prosilver')
-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);
}
});