From 37f3ca1f47e3f52e566c65f38fe4eb1649a822c6 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 24 Feb 2014 15:47:53 +0000 Subject: [PATCH] only trigger value not other values that might be in data --- source/Ox.UI/js/Map/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Map/Map.js b/source/Ox.UI/js/Map/Map.js index 0af3c136..793bb29a 100644 --- a/source/Ox.UI/js/Map/Map.js +++ b/source/Ox.UI/js/Map/Map.js @@ -1336,7 +1336,7 @@ Ox.Map = function(options, self) { setStatus(place); }); } - that.triggerEvent('find', data); + that.triggerEvent('find', {value: data.value}); } function tilesLoaded() {