comparison 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
comparison
equal deleted inserted replaced
978:cfea6dacd52a 979:96db238fc5ab
131 grid = new Ext.grid.GridPanel({ 131 grid = new Ext.grid.GridPanel({
132 id: 'wmsgrid', 132 id: 'wmsgrid',
133 collapsible: false, 133 collapsible: false,
134 split: false, 134 split: false,
135 border: true, 135 border: true,
136 height: 440, 136 // TODO: autoHeight might cause trouble
137 //autoHeight: true, don't use autoHeight, because the component doesn't 137 autoHeight: true,
138 //take care on the 'addLayer' button at the bottom 138 overflow: 'auto',
139 store: store, 139 store: store,
140 cm: new Ext.grid.ColumnModel([ 140 cm: new Ext.grid.ColumnModel([
141 { 141 {
142 header: 'Name', 142 header: 'Name',
143 dataIndex: 'name', 143 dataIndex: 'name',

http://dive4elements.wald.intevation.org