[Mapbender-commits] r8584 - branches/2.7/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Mar 12 08:21:22 PDT 2013


Author: astrid_emde
Date: 2013-03-12 08:21:21 -0700 (Tue, 12 Mar 2013)
New Revision: 8584

Modified:
   branches/2.7/http/javascripts/mod_resize_mapsize.js
Log:
check false

Modified: branches/2.7/http/javascripts/mod_resize_mapsize.js
===================================================================
--- branches/2.7/http/javascripts/mod_resize_mapsize.js	2013-03-12 15:16:57 UTC (rev 8583)
+++ branches/2.7/http/javascripts/mod_resize_mapsize.js	2013-03-12 15:21:21 UTC (rev 8584)
@@ -126,6 +126,8 @@
 		}else{
 			var mapheight = newFrameHeight - parseInt(map.getDomElement().style.top, 10) + adjust_height;
 		}
+	}else{
+		var mapheight = newFrameHeight - parseInt(map.getDomElement().style.top, 10) + adjust_height;
 	}
 	
 	if (max_width !== false){
@@ -134,10 +136,12 @@
 		}else{
 			var mapwidth = newFrameWidth - map_frame_left - legend_width + adjust_width;
 		}
+	}else{
+		var mapwidth = newFrameWidth - map_frame_left - legend_width + adjust_width;
 	}	
 	
-	//var mapheight = newFrameHeight - parseInt(map.getDomElement().style.top, 10) + adjust_height;
-	//var mapwidth = newFrameWidth - map_frame_left - legend_width + adjust_width;
+	
+	
 	map.setWidth(mapwidth);
 	map.setHeight(mapheight);
 



More information about the Mapbender_commits mailing list