Mercurial > lada > lada-client
diff 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 |
line wrap: on
line diff
--- a/app/view/window/Messprogramm.js Wed May 13 10:22:53 2015 +0200 +++ b/app/view/window/Messprogramm.js Wed May 13 10:23:39 2015 +0200 @@ -138,6 +138,9 @@ var json = Ext.decode(response.response.responseText); if (json) { this.setMessages(json.errors, json.warnings); + if (!json.warnings.mediaDesk) { + this.down('messprogrammform').setMediaDesk(record); + } } // If the Messprogramm is ReadOnly, disable Inputfields and grids if (this.record.get('readonly') === true) {