diff gnv/src/main/webapp/scripts/olutils.js @ 979:96db238fc5ab

Fixed bug that the 'Add Layer'-Button was not correctly displayed if a new WMS-Capabilities-Document was loaded. gnv/trunk@1155 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 04 Jun 2010 08:32:29 +0000
parents 5779220ebb80
children ebc3d018af6a
line wrap: on
line diff
--- a/gnv/src/main/webapp/scripts/olutils.js	Fri Jun 04 06:13:41 2010 +0000
+++ b/gnv/src/main/webapp/scripts/olutils.js	Fri Jun 04 08:32:29 2010 +0000
@@ -133,9 +133,9 @@
         collapsible: false,
         split: false,
         border: true,
-        height: 440,
-        //autoHeight: true, don't use autoHeight, because the component doesn't
-        //take care on  the 'addLayer' button at the bottom
+        // TODO: autoHeight might cause trouble
+        autoHeight: true,
+        overflow: 'auto',
         store: store,
         cm: new Ext.grid.ColumnModel([
         {

http://dive4elements.wald.intevation.org