Mercurial > lada > lada-client
comparison app/controller/form/Messprogramm.js @ 759:b7484c7da2d4
Unified the Messprogramm windows. Unfortunately the Roweditor of Messmethodengrid is broken in this commit. This is due to the fact that the Mmt store is noit autoloaded anymore
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 07 May 2015 10:55:44 +0200 |
parents | b8502964f5c3 |
children | afc9076db490 |
comparison
equal
deleted
inserted
replaced
758:b2fcbdc4969d | 759:b7484c7da2d4 |
---|---|
104 formPanel.clearMessages(); | 104 formPanel.clearMessages(); |
105 formPanel.setRecord(record); | 105 formPanel.setRecord(record); |
106 formPanel.setMessages(json.errors, json.warnings); | 106 formPanel.setMessages(json.errors, json.warnings); |
107 if (response.action === 'create' && json.success) { | 107 if (response.action === 'create' && json.success) { |
108 button.up('window').close(); | 108 button.up('window').close(); |
109 var win = Ext.create('Lada.view.window.MessprogrammEdit', { | 109 var win = Ext.create('Lada.view.window.Messprogramm', { |
110 record: record | 110 record: record |
111 }); | 111 }); |
112 win.show(); | 112 win.show(); |
113 win.initData(); | 113 win.initData(); |
114 } | 114 } |