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