diff app/controller/form/Messung.js @ 644:71e8b84d7829

Reload grids on messung or ort changed/added.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 17 Mar 2015 16:06:33 +0100
parents fdaabab6f4cc
children aedf0709af92
line wrap: on
line diff
--- a/app/controller/form/Messung.js	Tue Mar 17 16:05:52 2015 +0100
+++ b/app/controller/form/Messung.js	Tue Mar 17 16:06:33 2015 +0100
@@ -39,6 +39,7 @@
                     formPanel.clearMessages();
                     formPanel.setRecord(record);
                     formPanel.setMessages(json.errors, json.warnings);
+                    formPanel.up('window').grid.store.reload();
                     if (response.action === 'create' && json.success) {
                         button.up('window').close();
                         var win = Ext.create('Lada.view.window.MessungEdit', {

http://lada.wald.intevation.org