comparison app/controller/grid/Messung.js @ 1190:d7bcd31ceaa6

Added reference to probe window when opening messung create window. (grafted from af65544e47e259b355212d8d1f3598a2de60320d)
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 31 Aug 2016 15:56:07 +0200
parents f43635937581
children 41b894caacfe
comparison
equal deleted inserted replaced
1189:ec2b10d81343 1190:d7bcd31ceaa6
109 */ 109 */
110 add: function(button) { 110 add: function(button) {
111 var probe = button.up('window').record; 111 var probe = button.up('window').record;
112 var win = Ext.create('Lada.view.window.MessungCreate', { 112 var win = Ext.create('Lada.view.window.MessungCreate', {
113 record: probe, 113 record: probe,
114 grid: button.up('messunggrid') 114 grid: button.up('messunggrid'),
115 parentWindow: button.up('window')
115 }); 116 });
116 win.show(); 117 win.show();
117 win.initData(); 118 win.initData();
118 }, 119 },
119 120

http://lada.wald.intevation.org