comparison app/view/grid/PKommentar.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
140 }else{ 140 }else{
141 //Writable 141 //Writable
142 if (this.getPlugin('rowedit')){ 142 if (this.getPlugin('rowedit')){
143 this.getPlugin('rowedit').enable(); 143 this.getPlugin('rowedit').enable();
144 } 144 }
145 this.down('button[action=delete]').enable(); 145 //this.down('button[action=delete]').enable();
146 this.down('button[action=add]').enable(); 146 this.down('button[action=add]').enable();
147 } 147 }
148 }, 148 },
149 /** 149 /**
150 * Activate the Remove Button 150 * Activate the Remove Button

http://lada.wald.intevation.org