summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--slick.editors.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/slick.editors.js b/slick.editors.js
index f3ef8e9..a01d74d 100644
--- a/slick.editors.js
+++ b/slick.editors.js
@@ -304,14 +304,14 @@
this.loadValue = function (item) {
defaultValue = !!item[args.column.field];
if (defaultValue) {
- $select.attr("checked", "checked");
+ $select.prop('checked', true);
} else {
- $select.removeAttr("checked");
+ $select.prop('checked', false);
}
};
this.serializeValue = function () {
- return !!$select.attr("checked");
+ return !!$select.prop('checked');
};
this.applyValue = function (item, state) {