Mercurial > lada > lada-client
comparison app/view/grid/Ortszuordnung.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 | 9ac03f461ab4 |
children | 479782c96efa |
comparison
equal
deleted
inserted
replaced
1033:e4b6b6c5fb89 | 1034:4d4de99bbe53 |
---|---|
130 scope: this | 130 scope: this |
131 }); | 131 }); |
132 }, | 132 }, |
133 | 133 |
134 setReadOnly: function(b) { | 134 setReadOnly: function(b) { |
135 if (b == true){ | 135 this.readOnly = b; |
136 if (b) { | |
136 //Readonly | 137 //Readonly |
137 if (this.getPlugin('rowedit')){ | 138 if (this.getPlugin('rowedit')){ |
138 this.getPlugin('rowedit').disable(); | 139 this.getPlugin('rowedit').disable(); |
139 } | 140 } |
140 this.down('button[action=delete]').disable(); | 141 this.down('button[action=delete]').disable(); |