Mercurial > lada > lada-client
comparison app/controller/grid/Messung.js @ 1182:af65544e47e2 schema-update
Added reference to probe window when opening messung create window.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 31 Aug 2016 15:56:07 +0200 |
parents | 0a032c98c3a6 |
children |
comparison
equal
deleted
inserted
replaced
1181:52bf58630e58 | 1182:af65544e47e2 |
---|---|
108 */ | 108 */ |
109 add: function(button) { | 109 add: function(button) { |
110 var probe = button.up('window').record; | 110 var probe = button.up('window').record; |
111 var win = Ext.create('Lada.view.window.MessungCreate', { | 111 var win = Ext.create('Lada.view.window.MessungCreate', { |
112 record: probe, | 112 record: probe, |
113 grid: button.up('messunggrid') | 113 grid: button.up('messunggrid'), |
114 parentWindow: button.up('window') | |
114 }); | 115 }); |
115 win.show(); | 116 win.show(); |
116 win.initData(); | 117 win.initData(); |
117 }, | 118 }, |
118 | 119 |