Mercurial > lada > lada-client
diff app/view/grid/Messwert.js @ 687:aedf0709af92
Applied ReadOnlyParadigm to a Messung Window
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 25 Mar 2015 15:45:33 +0100 |
parents | 69cb367c0a63 |
children | 9ab7b1eed9f8 |
line wrap: on
line diff
--- a/app/view/grid/Messwert.js Wed Mar 25 15:20:45 2015 +0100 +++ b/app/view/grid/Messwert.js Wed Mar 25 15:45:33 2015 +0100 @@ -176,6 +176,11 @@ this.down('button[action=add]').disable(); }else{ //Writable - } + if (this.getPlugin('rowedit')){ + this.getPlugin('rowedit').enable(); + } + this.down('button[action=delete]').enable(); + this.down('button[action=add]').enable(); + } } });