comparison 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
comparison
equal deleted inserted replaced
1033:e4b6b6c5fb89 1034:4d4de99bbe53
248 } 248 }
249 } 249 }
250 }, 250 },
251 251
252 setReadOnly: function(b) { 252 setReadOnly: function(b) {
253 if (b == true){ 253 this.readOnly = b;
254 if (b === true) {
254 //Readonly 255 //Readonly
255 if (this.getPlugin('rowedit')){ 256 if (this.getPlugin('rowedit')){
256 this.getPlugin('rowedit').disable(); 257 this.getPlugin('rowedit').disable();
257 } 258 }
258 this.down('button[action=delete]').disable(); 259 this.down('button[action=delete]').disable();

http://lada.wald.intevation.org