[Mapbender-commits] r8118 - branches/2.7/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Sep 8 05:54:36 EDT 2011
Author: verenadiewald
Date: 2011-09-08 02:54:36 -0700 (Thu, 08 Sep 2011)
New Revision: 8118
Modified:
branches/2.7/http/javascripts/mod_tooltip.php
Log:
check if tooltipWin is set
Modified: branches/2.7/http/javascripts/mod_tooltip.php
===================================================================
--- branches/2.7/http/javascripts/mod_tooltip.php 2011-09-08 09:25:16 UTC (rev 8117)
+++ branches/2.7/http/javascripts/mod_tooltip.php 2011-09-08 09:54:36 UTC (rev 8118)
@@ -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