summaryrefslogtreecommitdiffstats
path: root/slick.editors.js
diff options
context:
space:
mode:
authormleibman <michael.leibman@gmail.com>2010-10-07 10:20:52 -0700
committermleibman <michael.leibman@gmail.com>2010-10-07 10:20:52 -0700
commit52672eab26fdffdd421be7128d6c28c623d43d80 (patch)
treeb74aa1bb7d51af2cb5c1a0d45ba638bb23ba9e82 /slick.editors.js
parent9dda1345c439274ec70c7e5290c03785bb252ee8 (diff)
downloadSlickGrid-52672eab26fdffdd421be7128d6c28c623d43d80.zip
SlickGrid-52672eab26fdffdd421be7128d6c28c623d43d80.tar.gz
SlickGrid-52672eab26fdffdd421be7128d6c28c623d43d80.tar.bz2
- FIXED: corrected variable reference in YesNoSelectCellEditor
Diffstat (limited to 'slick.editors.js')
-rw-r--r--slick.editors.js6
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) {