svn commit: r736 - trunk/mapbender/http/javascripts/map.php
christoph at osgeo.org
christoph at osgeo.org
Thu Aug 3 08:40:12 EDT 2006
Author: christoph
Date: 2006-08-03 12:40:12+0000
New Revision: 736
Modified:
trunk/mapbender/http/javascripts/map.php
Log:
new function deleteMapObj()
if the mb_mapObj had to be deleted from another window (mb_mapObj = new Array()), like in load wmc, the internet explorer lost the connection after the window was closed. This function can be called and generates the new Array within the right context (and not within the other window).
Modified: trunk/mapbender/http/javascripts/map.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/map.php?view=diff&rev=736&p1=trunk/mapbender/http/javascripts/map.php&p2=trunk/mapbender/http/javascripts/map.php&r1=735&r2=736
==============================================================================
--- trunk/mapbender/http/javascripts/map.php (original)
+++ trunk/mapbender/http/javascripts/map.php 2006-08-03 12:40:12+0000
@@ -142,6 +142,10 @@
wms_layer_count = 0;
}
+function deleteMapObj() {
+ mb_mapObj = new Array();
+}
+
function mb_mapObj_const(frameName, elementName, width, height, wms_index){
this.width = width;
this.height = height;
More information about the Mapbender_commits
mailing list