comparison app/view/grid/Probenzusatzwert.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 07dfcdf5b41f
children 479782c96efa
comparison
equal deleted inserted replaced
1033:e4b6b6c5fb89 1034:4d4de99bbe53
175 } 175 }
176 }); 176 });
177 }, 177 },
178 178
179 setReadOnly: function(b) { 179 setReadOnly: function(b) {
180 if (b == true){ 180 this.readOnly = b;
181 if (b) {
181 //Readonly 182 //Readonly
182 if (this.getPlugin('rowedit')){ 183 if (this.getPlugin('rowedit')){
183 this.getPlugin('rowedit').disable(); 184 this.getPlugin('rowedit').disable();
184 } 185 }
185 this.down('button[action=delete]').disable(); 186 this.down('button[action=delete]').disable();

http://lada.wald.intevation.org