[Mapbender-commits] r3118 - branches/noframes/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Oct 3 10:49:58 EDT 2008


Author: nimix
Date: 2008-10-03 10:49:57 -0400 (Fri, 03 Oct 2008)
New Revision: 3118

Modified:
   branches/noframes/http/javascripts/map_obj.js
Log:


Modified: branches/noframes/http/javascripts/map_obj.js
===================================================================
--- branches/noframes/http/javascripts/map_obj.js	2008-10-03 14:48:43 UTC (rev 3117)
+++ branches/noframes/http/javascripts/map_obj.js	2008-10-03 14:49:57 UTC (rev 3118)
@@ -625,7 +625,7 @@
 			var myDivId = this.elementName + "_div_" + ii;          
 			writeTag(this.frameName, myDivId, newMapRequest);
 			var myMapId = this.elementName + "_map_" + ii;
-			eventAfterMapRequest.trigger({"frameName":this.frameName, "myMapId":myMapId});
+			eventAfterMapRequest.trigger({"frameName":this.elementName, "myMapId":myMapId});
 			return true;
 		}  
 		return false; 
@@ -652,7 +652,7 @@
 			if (!(currentWms.gui_wms_visible > 0)) {
 				continue;
 			}
-			myMapId.push("map_" + ii);
+			myMapId.push(this.elementName + "_map_" + ii);
 			
 			newMapRequest += getLayerHtmlCode(ii);
 			
@@ -660,7 +660,7 @@
 		writeTag(this.frameName, this.elementName+"_maps", newMapRequest);
 
 		eventAfterMapRequest.trigger({
-			"frameName": this.frameName,
+			"frameName": this.elementName,
 			"myMapId": myMapId.join(",")
 		});
 	};



More information about the Mapbender_commits mailing list