summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2016-02-17 10:42:04 (GMT)
committerNathaniel Catchpole2016-02-17 10:42:04 (GMT)
commit8fd7d9ba93bf19e49f67353f015d12a3e30dd0a2 (patch)
tree1a705aa02f7ae57f0bb7fad566f12c1957f5be34
parenta005807820b69fdc0272eba859122cc5e48f3a52 (diff)
Revert "Issue #994360 by DuaelFr, andypost, emosbaugh: #states cannot disable/enable radios and checkboxes"
This reverts commit 65c72068285671e823c6952eb55065f9bbff0026.
-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 d795e0a..30c938f 100644
--- a/core/misc/states.js
+++ b/core/misc/states.js
@@ -628,7 +628,7 @@
$(document).on('state:checked', function (e) {
if (e.trigger) {
- $(':input', e.target).prop('checked', e.value);
+ $(e.target).prop('checked', e.value);
}
});