Mercurial > lada > lada-client
diff app/view/proben/Edit.js @ 103:3552b0ee4526
Added Messungenlist to the Proben eddit view.
author | Torsten Irländer <torsten@irlaender.de> |
---|---|
date | Mon, 17 Jun 2013 16:59:04 +0200 |
parents | 21c069e2ecdb |
children | b91d5376db19 |
line wrap: on
line diff
--- a/app/view/proben/Edit.js Mon Jun 17 13:25:14 2013 +0200 +++ b/app/view/proben/Edit.js Mon Jun 17 16:59:04 2013 +0200 @@ -20,7 +20,8 @@ 'Lada.view.widgets.Testdatensatz', 'Lada.view.widgets.Netzbetreiber', 'Lada.view.kommentare.List', - 'Lada.view.orte.List' + 'Lada.view.orte.List', + 'Lada.view.messungen.List' ], initComponent: function() { @@ -47,6 +48,15 @@ //probe: record.data['probeId'] } }); + // Load Messungen + var messungen = form.down('messungenlist'); + var mstore = messungen.getStore(); + mstore.load({ + params: { + probe: this.initialConfig['modelId'] + //probe: record.data['probeId'] + } + }); this.items = [form]; this.buttons = [ {