diff app/controller/form/Ort.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 5b5bba1d8e6a
children d6ef146e1a9f
line wrap: on
line diff
--- a/app/controller/form/Ort.js	Tue Mar 17 16:05:52 2015 +0100
+++ b/app/controller/form/Ort.js	Tue Mar 17 16:06:33 2015 +0100
@@ -42,6 +42,7 @@
                     formPanel.clearMessages();
                     formPanel.setRecord(record);
                     formPanel.setMessages(json.errors, json.warnings);
+                    formPanel.up('window').grid.store.reload();
                 }
             },
             failure: function(record, response) {

http://lada.wald.intevation.org