From dfffe99a0424220da75372b06f5387189af39a31 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 1 Sep 2012 11:52:26 +0200 Subject: [PATCH] Ox.Map: trigger select event if, after updating the items option, the previously selected item is no longer present --- source/Ox.UI/js/Map/Map.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Ox.UI/js/Map/Map.js b/source/Ox.UI/js/Map/Map.js index c67c131d..7ba066f6 100644 --- a/source/Ox.UI/js/Map/Map.js +++ b/source/Ox.UI/js/Map/Map.js @@ -149,6 +149,7 @@ Ox.Map = function(options, self) { selectPlace(self.options.selected); } else { self.options.selected = ''; + that.triggerEvent('select', null); } } },