comparison app/view/window/Messprogramm.js @ 784:f0b26df02157

Handle deskriptoren in messprogramm like in probe.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 13 May 2015 10:23:39 +0200
parents 3309db91b8c1
children 097d4edc2f00
comparison
equal deleted inserted replaced
783:afdbe3770b99 784:f0b26df02157
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