[Mapbender-commits] r8594 - branches/2.7/http/plugins trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Apr 9 02:37:55 PDT 2013
Author: verenadiewald
Date: 2013-04-09 02:37:55 -0700 (Tue, 09 Apr 2013)
New Revision: 8594
Modified:
branches/2.7/http/plugins/mb_print.php
trunk/mapbender/http/plugins/mb_print.php
Log:
if printBox is destroyed, the hidden values for printBoxScale, printBoxCoordinates and printBoxAngle should also be destroyed
Modified: branches/2.7/http/plugins/mb_print.php
===================================================================
--- branches/2.7/http/plugins/mb_print.php 2013-04-08 12:00:05 UTC (rev 8593)
+++ branches/2.7/http/plugins/mb_print.php 2013-04-09 09:37:55 UTC (rev 8594)
@@ -266,7 +266,10 @@
var destroyPrintBox = function () {
if (printBox) {
printBox.destroy();
- printBox = null;
+ printBox = null;
+ $("#printboxScale").val("");
+ $("#printboxCoordinates").val("");
+ $("#printboxAngle").val("");
}
};
Modified: trunk/mapbender/http/plugins/mb_print.php
===================================================================
--- trunk/mapbender/http/plugins/mb_print.php 2013-04-08 12:00:05 UTC (rev 8593)
+++ trunk/mapbender/http/plugins/mb_print.php 2013-04-09 09:37:55 UTC (rev 8594)
@@ -266,7 +266,10 @@
var destroyPrintBox = function () {
if (printBox) {
printBox.destroy();
- printBox = null;
+ printBox = null;
+ $("#printboxScale").val("");
+ $("#printboxCoordinates").val("");
+ $("#printboxAngle").val("");
}
};
More information about the Mapbender_commits
mailing list