[fusion-commits] r2494 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue Dec 20 21:52:44 EST 2011
Author: liuar
Date: 2011-12-20 18:52:44 -0800 (Tue, 20 Dec 2011)
New Revision: 2494
Modified:
trunk/widgets/Maptip.js
Log:
Submit on behalf of Buddy Hu.
Fix ticket #504.
Modified: trunk/widgets/Maptip.js
===================================================================
--- trunk/widgets/Maptip.js 2011-12-21 02:51:51 UTC (rev 2493)
+++ trunk/widgets/Maptip.js 2011-12-21 02:52:44 UTC (rev 2494)
@@ -207,7 +207,10 @@
this.getMap().deregisterForEvent(Fusion.Event.MAP_MAPTIP_REQ_FINISHED,this.mapTipReqFinishedFunc);
this.getMap().deregisterForEvent(Fusion.Event.MAP_BUSY_CHANGED, this.mapBusyChangedFunc);
this.getMap().deregisterForEvent(Fusion.Event.MAP_LOADED, this.mapLoaded);
- this.domObj.parentNode.removeChild(this.domObj);
+
+ if(this.domObj != null && this.domObj.parentNode != null) {
+ this.domObj.parentNode.removeChild(this.domObj);
+ }
},
mouseOut: function(e) {
More information about the fusion-commits
mailing list