comparison 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
comparison
equal deleted inserted replaced
643:477379250512 644:71e8b84d7829
30 }); 30 });
31 }, 31 },
32 32
33 editItem: function(grid, record) { 33 editItem: function(grid, record) {
34 var win = Ext.create('Lada.view.window.MessungEdit', { 34 var win = Ext.create('Lada.view.window.MessungEdit', {
35 record: record 35 record: record,
36 grid: grid
36 }); 37 });
37 win.show(); 38 win.show();
38 win.initData(); 39 win.initData();
39 }, 40 },
40 41
41 add: function(button) { 42 add: function(button) {
42 var probe = button.up('window').record; 43 var probe = button.up('window').record;
43 var win = Ext.create('Lada.view.window.MessungCreate', { 44 var win = Ext.create('Lada.view.window.MessungCreate', {
44 record: probe 45 record: probe,
46 grid: button.up('messunggrid')
45 }); 47 });
46 win.show(); 48 win.show();
47 win.initData(); 49 win.initData();
48 }, 50 },
49 51

http://lada.wald.intevation.org