Fix instance test in init_selection
key could be empty but still the call must be for an instance. issue3728 review4011002
This commit is contained in:
1 parent
71f012dc8f
commit
82c2aa2d45
1 file changed
+1
-1
+1
-1
@@ -256,7 +256,7 @@
|
||||
if (!(selection instanceof Array) &&
|
||||
!(key in this._values2selection)) {
|
||||
var prm;
|
||||
if (key) {
|
||||
if (this.attributes.selection_change_with) {
|
||||
var params = {};
|
||||
key.forEach(function(e) {
|
||||
params[e[0]] = e[1];
|
||||
|
||||
Reference in new issue
Block a user