[Mapbender-commits] r6330 - trunk/mapbender/http/extensions/jquery.layout.all-1.2.0

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jun 18 05:19:12 EDT 2010


Author: christoph
Date: 2010-06-18 09:19:12 +0000 (Fri, 18 Jun 2010)
New Revision: 6330

Modified:
   trunk/mapbender/http/extensions/jquery.layout.all-1.2.0/jquery.layout.js
Log:


Modified: trunk/mapbender/http/extensions/jquery.layout.all-1.2.0/jquery.layout.js
===================================================================
--- trunk/mapbender/http/extensions/jquery.layout.all-1.2.0/jquery.layout.js	2010-06-18 09:17:01 UTC (rev 6329)
+++ trunk/mapbender/http/extensions/jquery.layout.all-1.2.0/jquery.layout.js	2010-06-18 09:19:12 UTC (rev 6330)
@@ -1868,6 +1868,8 @@
 		var d = getPaneDims();
 		if (overrideDims) $.extend( d, overrideDims );
 
+		console.log(panes);
+
 		$.each(panes.split(","), function() {
 			if (!$Ps[this]) return; // NO PANE - skip
 			var 
@@ -2116,16 +2118,13 @@
 		if (checkH || checkW)
 			// NOTE special order for sizing: S-N-E-W
 			$.each(["south","north","east","west"], function(i,pane) {
-				console.log(this);
 				s = state[pane];
 				dir = c[pane].dir;
 				if (!s.isClosed && ((checkH && dir=="horz") || (checkW && dir=="vert"))) {
 					setPaneMinMaxSizes(pane); // update pane-state
 					// shrink pane if 'too big' to fit
-					if (s.size > s.maxSize) {
-						console.log("sizePane: " + pane);
+					if (s.size > s.maxSize)
 						sizePane(pane, s.maxSize);
-					}
 				}
 			});
 



More information about the Mapbender_commits mailing list