comparison app/view/window/ProbeEdit.js @ 771:dd6925ef6028

Load, set and parse deskriptoren in probe form.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 12 May 2015 15:12:02 +0200
parents 2e478b3a587a
children 5ed0e6273888
comparison
equal deleted inserted replaced
770:3185a77e8501 771:dd6925ef6028
139 } 139 }
140 140
141 var json = Ext.decode(response.response.responseText); 141 var json = Ext.decode(response.response.responseText);
142 if (json) { 142 if (json) {
143 this.setMessages(json.errors, json.warnings); 143 this.setMessages(json.errors, json.warnings);
144 if (!json.warnings.mediaDesk) {
145 this.down('probeform').setMediaDesk(record);
146 }
144 } 147 }
145 // If the Probe is ReadOnly, disable Inputfields and grids 148 // If the Probe is ReadOnly, disable Inputfields and grids
146 if (this.record.get('readonly') === true) { 149 if (this.record.get('readonly') === true) {
147 this.down('probeform').setReadOnly(true); 150 this.down('probeform').setReadOnly(true);
148 this.disableChildren(); 151 this.disableChildren();

http://lada.wald.intevation.org