We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f95a003 commit 453620eCopy full SHA for 453620e
src/jquery.checkboxes.js
@@ -13,14 +13,18 @@
13
* Check all checkboxes in context.
14
*/
15
Checkboxes.prototype.check = function () {
16
- this.$context.find(':checkbox').prop('checked', true);
+ this.$context.find(':checkbox')
17
+ .filter(':not(:disabled)')
18
+ .prop('checked', true);
19
};
20
21
/**
22
* Uncheck all checkboxes in context.
23
24
Checkboxes.prototype.uncheck = function () {
- this.$context.find(':checkbox').prop('checked', false);
25
26
27
+ .prop('checked', false);
28
29
30
0 commit comments