Mercurial > lada > lada-client
comparison app/view/messungen/CreateForm.js @ 196:2cf26580d75d
Set messungsId to the add buttons in the lists on edit page for messungen.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 08 Jul 2013 16:10:10 +0200 |
parents | 062aa9001eb6 |
children | a9a7d8abc45e |
comparison
equal
deleted
inserted
replaced
195:01021f00ce6a | 196:2cf26580d75d |
---|---|
48 collapsed: false, | 48 collapsed: false, |
49 padding: '10 10', | 49 padding: '10 10', |
50 items: [ | 50 items: [ |
51 { | 51 { |
52 xtype: 'messwertelist', | 52 xtype: 'messwertelist', |
53 parentId: this.modelId | 53 parentId: this.model.get('messungsId'), |
54 probeId: this.model.get('probeId') | |
54 } | 55 } |
55 ] | 56 ] |
56 }, | 57 }, |
57 // Status | 58 // Status |
58 { | 59 { |
62 collapsed: false, | 63 collapsed: false, |
63 padding: '10 10', | 64 padding: '10 10', |
64 items: [ | 65 items: [ |
65 { | 66 { |
66 xtype: 'statuslist', | 67 xtype: 'statuslist', |
67 parentId: this.modelId | 68 parentId: this.model.get('messungsId'), |
69 probeId: this.model.get('probeId') | |
68 } | 70 } |
69 ] | 71 ] |
70 }, | 72 }, |
71 // Messungskommentare | 73 // Messungskommentare |
72 { | 74 { |
76 collapsed: false, | 78 collapsed: false, |
77 padding: '10 10', | 79 padding: '10 10', |
78 items: [ | 80 items: [ |
79 { | 81 { |
80 xtype: 'mkommentarelist', | 82 xtype: 'mkommentarelist', |
81 parentId: this.modelId | 83 parentId: this.model.get('messungsId'), |
84 probeId: this.model.get('probeId') | |
82 } | 85 } |
83 ] | 86 ] |
84 } | 87 } |
85 ]; | 88 ]; |
86 this.callParent(); | 89 this.callParent(); |