[Mapbender-commits] r5417 - branches/2.6/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 25 04:36:12 EST 2010


Author: christoph
Date: 2010-01-25 04:36:12 -0500 (Mon, 25 Jan 2010)
New Revision: 5417

Modified:
   branches/2.6/http/javascripts/mod_forward.php
Log:


Modified: branches/2.6/http/javascripts/mod_forward.php
===================================================================
--- branches/2.6/http/javascripts/mod_forward.php	2010-01-25 09:35:52 UTC (rev 5416)
+++ branches/2.6/http/javascripts/mod_forward.php	2010-01-25 09:36:12 UTC (rev 5417)
@@ -94,6 +94,9 @@
 		var ind = getMapObjIndexByName(mod_forward_map);
 		var map = mb_mapObj[ind];
 		var cnt = map.mb_MapFutureObj.length - 1;
+		if (cnt < 0) {
+			return;
+		}
 		if(map.epsg != map.mb_MapFutureObj[cnt].epsg){
 			var oind = getMapObjIndexByName(mod_forward_overview);
 			var ov = mb_mapObj[oind];



More information about the Mapbender_commits mailing list