diff app/controller/grid/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 477379250512
children e88381fb3bdb
line wrap: on
line diff
--- a/app/controller/grid/Ort.js	Tue Mar 17 16:05:52 2015 +0100
+++ b/app/controller/grid/Ort.js	Tue Mar 17 16:06:33 2015 +0100
@@ -10,7 +10,8 @@
     extend: 'Ext.app.Controller',
 
     requires: [
-        'Lada.view.window.OrtEdit'
+        'Lada.view.window.OrtEdit',
+        'Lada.view.window.OrtCreate'
     ],
 
     init: function() {
@@ -29,7 +30,8 @@
 
     open: function(grid, record) {
         var win = Ext.create('Lada.view.window.OrtEdit', {
-            record: record
+            record: record,
+            grid: grid
         });
         win.show();
         win.initData();

http://lada.wald.intevation.org