diff app/controller/grid/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 ee92e352be20
children e88381fb3bdb
line wrap: on
line diff
--- a/app/controller/grid/Messung.js	Tue Mar 17 16:05:52 2015 +0100
+++ b/app/controller/grid/Messung.js	Tue Mar 17 16:06:33 2015 +0100
@@ -32,7 +32,8 @@
 
     editItem: function(grid, record) {
         var win = Ext.create('Lada.view.window.MessungEdit', {
-            record: record
+            record: record,
+            grid: grid
         });
         win.show();
         win.initData();
@@ -41,7 +42,8 @@
     add: function(button) {
         var probe = button.up('window').record;
         var win = Ext.create('Lada.view.window.MessungCreate', {
-            record: probe
+            record: probe,
+            grid: button.up('messunggrid')
         });
         win.show();
         win.initData();

http://lada.wald.intevation.org