[Mapbender-commits] r8119 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Sep 8 05:55:14 EDT 2011
Author: verenadiewald
Date: 2011-09-08 02:55:14 -0700 (Thu, 08 Sep 2011)
New Revision: 8119
Modified:
trunk/mapbender/http/javascripts/mod_tooltip.php
Log:
check if tooltipWin is set
Modified: trunk/mapbender/http/javascripts/mod_tooltip.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_tooltip.php 2011-09-08 09:54:36 UTC (rev 8118)
+++ trunk/mapbender/http/javascripts/mod_tooltip.php 2011-09-08 09:55:14 UTC (rev 8119)
@@ -100,7 +100,9 @@
buildProgressDisplay();
$(".printPDF-dialog").bind("dialogopen", function () {
- tooltipWin.destroy();
+ if (tooltipWin) {
+ tooltipWin.destroy();
+ }
hideProgressDisplay();
});
@@ -130,7 +132,9 @@
buildProgressDisplay();
$(".printPDF-dialog").bind("dialogopen", function () {
- tooltipWin.destroy();
+ if (tooltipWin) {
+ tooltipWin.destroy();
+ }
hideProgressDisplay();
});
More information about the Mapbender_commits
mailing list