comparison app/view/grid/Probenzusatzwert.js @ 824:fab0b7be5aca

add disbled remove button to all grids which relate to proben or messungen. Messprogramme-grids are untouched. BUG: When the last entry is deleted, the button remains active
author Dustin Demuth <dustin@intevation.de>
date Fri, 29 May 2015 14:23:03 +0200
parents 5ed0e6273888
children 07dfcdf5b41f
comparison
equal deleted inserted replaced
823:5ed0e6273888 824:fab0b7be5aca
187 }else{ 187 }else{
188 //Writable 188 //Writable
189 if (this.getPlugin('rowedit')){ 189 if (this.getPlugin('rowedit')){
190 this.getPlugin('rowedit').enable(); 190 this.getPlugin('rowedit').enable();
191 } 191 }
192 this.down('button[action=delete]').enable(); 192 //this.down('button[action=delete]').enable();
193 this.down('button[action=add]').enable(); 193 this.down('button[action=add]').enable();
194 } 194 }
195 }, 195 },
196 /** 196 /**
197 * Activate the Remove Button 197 * Activate the Remove Button

http://lada.wald.intevation.org