comparison app/view/window/Messprogramm.js @ 787:442e7bd290dc

merged heads
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 May 2015 10:27:15 +0200
parents f0b26df02157
children 097d4edc2f00
comparison
equal deleted inserted replaced
786:d2ee6858f452 787:442e7bd290dc
136 this.record = record; 136 this.record = record;
137 137
138 var json = Ext.decode(response.response.responseText); 138 var json = Ext.decode(response.response.responseText);
139 if (json) { 139 if (json) {
140 this.setMessages(json.errors, json.warnings); 140 this.setMessages(json.errors, json.warnings);
141 if (!json.warnings.mediaDesk) {
142 this.down('messprogrammform').setMediaDesk(record);
143 }
141 } 144 }
142 // If the Messprogramm is ReadOnly, disable Inputfields and grids 145 // If the Messprogramm is ReadOnly, disable Inputfields and grids
143 if (this.record.get('readonly') === true) { 146 if (this.record.get('readonly') === true) {
144 this.down('messprogrammform').setReadOnly(true); 147 this.down('messprogrammform').setReadOnly(true);
145 //this.disableChildren(); 148 //this.disableChildren();

http://lada.wald.intevation.org