Mercurial > lada > lada-client
diff app/view/grid/Messung.js @ 1034:4d4de99bbe53
Get rid of double setting readOnly status of probe window child elements.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 18 Feb 2016 11:21:22 +0100 |
parents | e4b6b6c5fb89 |
children | 479782c96efa |
line wrap: on
line diff
--- a/app/view/grid/Messung.js Thu Feb 18 11:19:25 2016 +0100 +++ b/app/view/grid/Messung.js Thu Feb 18 11:21:22 2016 +0100 @@ -250,7 +250,8 @@ }, setReadOnly: function(b) { - if (b == true){ + this.readOnly = b; + if (b === true) { //Readonly if (this.getPlugin('rowedit')){ this.getPlugin('rowedit').disable();