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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Aug 31 10:51:59 EDT 2011


Author: verenadiewald
Date: 2011-08-31 07:51:59 -0700 (Wed, 31 Aug 2011)
New Revision: 8091

Modified:
   branches/2.7/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: branches/2.7/http/javascripts/mod_overviewToggle.js
===================================================================
--- branches/2.7/http/javascripts/mod_overviewToggle.js	2011-08-31 12:17:04 UTC (rev 8090)
+++ branches/2.7/http/javascripts/mod_overviewToggle.js	2011-08-31 14:51:59 UTC (rev 8091)
@@ -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