Mercurial > lada > lada-client
diff app/view/window/MessungEdit.js @ 616:dfc07fa0ceb1
merged.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 13 Mar 2015 16:29:02 +0100 |
parents | f959205ab173 |
children | 71e8b84d7829 |
line wrap: on
line diff
--- a/app/view/window/MessungEdit.js Fri Mar 13 16:28:37 2015 +0100 +++ b/app/view/window/MessungEdit.js Fri Mar 13 16:29:02 2015 +0100 @@ -48,8 +48,9 @@ autoScroll: true, items: [{ xtype: 'messungform', + margin: 5, recordId: this.record.get('id') - }, { + }, { xtype: 'fset', name: 'messwerte', title: 'Messwerte', @@ -86,6 +87,7 @@ initData: function() { this.clearMessages(); + this.down('messungform').setRecord(this.record); Ext.ClassManager.get('Lada.model.Messung').load(this.record.get('id'), { failure: function(record) { // TODO @@ -99,8 +101,7 @@ } }, scope: this - } - ); + }); }, setMessages: function(errors, warnings) {