[Mapbender-commits] r8092 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Aug 31 10:52:26 EDT 2011


Author: verenadiewald
Date: 2011-08-31 07:52:26 -0700 (Wed, 31 Aug 2011)
New Revision: 8092

Modified:
   trunk/mapbender/http/javascripts/mod_overviewToggle.js
Log:
use the id of the overviewToggle element for setting the width, don't use class ui-widget-header for this, because it changes all dialog title width

Modified: trunk/mapbender/http/javascripts/mod_overviewToggle.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_overviewToggle.js	2011-08-31 14:51:59 UTC (rev 8091)
+++ trunk/mapbender/http/javascripts/mod_overviewToggle.js	2011-08-31 14:52:26 UTC (rev 8092)
@@ -75,7 +75,7 @@
 			left: overviewLeft + "px"
 		});
 	} else {
-			$('.ui-widget-header').css('width',overviewInitialWidth+'px');
+			$("#" + ovSwitchId).css('width',overviewInitialWidth+'px');
 			$this.addClass("ui-corner-top").removeClass("ui-corner-all");
 			$ovToggleButton.removeClass("ui-icon-triangle-1-e").addClass("ui-icon-triangle-1-w");
 	}



More information about the Mapbender_commits mailing list