Mercurial > lada > lada-client
diff 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 |
line wrap: on
line diff
--- a/app/view/window/ProbeEdit.js Tue May 12 15:11:15 2015 +0200 +++ b/app/view/window/ProbeEdit.js Tue May 12 15:12:02 2015 +0200 @@ -141,6 +141,9 @@ var json = Ext.decode(response.response.responseText); if (json) { this.setMessages(json.errors, json.warnings); + if (!json.warnings.mediaDesk) { + this.down('probeform').setMediaDesk(record); + } } // If the Probe is ReadOnly, disable Inputfields and grids if (this.record.get('readonly') === true) {