Ox.Map: trigger select event if, after updating the items option, the previously selected item is no longer present
This commit is contained in:
parent
39708edd8b
commit
dfffe99a04
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ Ox.Map = function(options, self) {
|
||||||
selectPlace(self.options.selected);
|
selectPlace(self.options.selected);
|
||||||
} else {
|
} else {
|
||||||
self.options.selected = '';
|
self.options.selected = '';
|
||||||
|
that.triggerEvent('select', null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue