Proper evaluation of the optionsValues in the Backgrid Select2Cell.

This commit is contained in:
Harshal Dhumal authored and Ashesh Vashi committed 2016-06-03 15:20:56 +05:30
1 parent c3e2f5f212
commit dea4b8ca31
1 file changed
+2 -2
@@ -442,9 +442,9 @@
model = this.model, column = this.column,
editable = Backgrid.callByNeed(col.editable, column, model),
optionValues = _.clone(this.optionValues ||
_.isFunction(this.column.get('options')) ?
(_.isFunction(this.column.get('options')) ?
(this.column.get('options'))(this) :
this.column.get('options'));
this.column.get('options')));
this.undelegateEvents();