mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-04 12:40:56 -06:00
Proper evaluation of the optionsValues in the Backgrid Select2Cell.
This commit is contained in:
parent
c3e2f5f212
commit
dea4b8ca31
@ -442,9 +442,9 @@
|
|||||||
model = this.model, column = this.column,
|
model = this.model, column = this.column,
|
||||||
editable = Backgrid.callByNeed(col.editable, column, model),
|
editable = Backgrid.callByNeed(col.editable, column, model),
|
||||||
optionValues = _.clone(this.optionValues ||
|
optionValues = _.clone(this.optionValues ||
|
||||||
_.isFunction(this.column.get('options')) ?
|
(_.isFunction(this.column.get('options')) ?
|
||||||
(this.column.get('options'))(this) :
|
(this.column.get('options'))(this) :
|
||||||
this.column.get('options'));
|
this.column.get('options')));
|
||||||
|
|
||||||
this.undelegateEvents();
|
this.undelegateEvents();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user