summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2016-02-14 23:49:20 (GMT)
committerNathaniel Catchpole2016-02-14 23:49:20 (GMT)
commit65c72068285671e823c6952eb55065f9bbff0026 (patch)
treee81c2c17cd772492a263c3232ea7a451f47bddda
parent2748b9a40c8b8a1a7b24adc78b0f6288e5989335 (diff)
Issue #994360 by DuaelFr, andypost, emosbaugh: #states cannot disable/enable radios and checkboxes
-rw-r--r--core/misc/states.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/misc/states.js b/core/misc/states.js
index 30c938f..d795e0a 100644
--- a/core/misc/states.js
+++ b/core/misc/states.js
@@ -628,7 +628,7 @@
$(document).on('state:checked', function (e) {
if (e.trigger) {
- $(e.target).prop('checked', e.value);
+ $(':input', e.target).prop('checked', e.value);
}
});