[Mapbender-commits] r7159 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Nov 24 11:19:16 EST 2010
Author: verenadiewald
Date: 2010-11-24 08:19:16 -0800 (Wed, 24 Nov 2010)
New Revision: 7159
Modified:
trunk/mapbender/http/javascripts/mod_loadwmc.js
Log:
check if $wmcPopup is set
Modified: trunk/mapbender/http/javascripts/mod_loadwmc.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_loadwmc.js 2010-11-24 16:18:25 UTC (rev 7158)
+++ trunk/mapbender/http/javascripts/mod_loadwmc.js 2010-11-24 16:19:16 UTC (rev 7159)
@@ -156,7 +156,7 @@
};
this.hide = function () {
- if($wmcPopup.size() > 0) {
+ if($wmcPopup && $wmcPopup.size() > 0) {
$wmcPopup.dialog('destroy');
$wmcPopup.remove();
}
More information about the Mapbender_commits
mailing list