From 75c86a68f55e4ef2b7ad2b85468790e00bb8e7ed Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 17 May 2011 17:06:54 -0500 Subject: [PATCH] Map: moved point at which hideLoading occurs to avoid potential bug. --- www/extras/yui-webgui/build/map/map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/extras/yui-webgui/build/map/map.js b/www/extras/yui-webgui/build/map/map.js index 5660cd2fb..9cfbdefaa 100644 --- a/www/extras/yui-webgui/build/map/map.js +++ b/www/extras/yui-webgui/build/map/map.js @@ -133,6 +133,8 @@ WebGUI.Map.editPoint } ); divButton.appendChild( deleteButton ); } + WebGUI.Map.hideLoading(); + marker.bindInfoWindow( infoWin ); if( point.isGeocoded == 1 ) { //Move the marker to the right location @@ -147,8 +149,6 @@ WebGUI.Map.editPoint WebGUI.Map.setPointLocation( marker, latlng ); } ); } - WebGUI.Map.hideLoading(); - WebGUI.Map.markers[map.assetId][marker.assetId] = marker; WebGUI.Map.updateSelectPoint( map ); }