diff options
-rw-r--r-- | slick.editors.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slick.editors.js b/slick.editors.js index 72bf56c..04bd33d 100644 --- a/slick.editors.js +++ b/slick.editors.js @@ -285,12 +285,12 @@ }; this.loadValue = function(item) { - $input.val((defaultValue = item[args.column.field]) ? "yes" : "no"); - $input.select(); + $select.val((defaultValue = item[args.column.field]) ? "yes" : "no"); + $select.select(); }; this.serializeValue = function() { - return ($input.val() == "yes"); + return ($select.val() == "yes"); }; this.applyValue = function(item,state) { |