comparison app/view/window/Messprogramm.js @ 773:882a1a13ea96

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 12 May 2015 16:46:39 +0200
parents a85069813d43
children 3309db91b8c1
comparison
equal deleted inserted replaced
772:a85069813d43 773:882a1a13ea96
76 this.items = [{ 76 this.items = [{
77 border: 0, 77 border: 0,
78 autoScroll: true, 78 autoScroll: true,
79 items: [{ 79 items: [{
80 xtype: 'messprogrammform', 80 xtype: 'messprogrammform',
81 recordId: this.record? this.record.get('id') : null 81 recordId: this.record ? this.record.get('id') : null
82 }, { 82 }, {
83 //Messmethoden 83 //Messmethoden
84 xtype: 'fieldset', 84 xtype: 'fieldset',
85 padding: '5, 5', 85 padding: '5, 5',
86 title: i18n.getMsg('mmtmessprogramm.form.fieldset.title'), 86 title: i18n.getMsg('mmtmessprogramm.form.fieldset.title'),
88 layout: { 88 layout: {
89 type: 'column' 89 type: 'column'
90 }, 90 },
91 items: [{ 91 items: [{
92 xtype: 'messmethodengrid', 92 xtype: 'messmethodengrid',
93 recordId: this.record? this.record.get('id') : null,
94 columnWidth: 0.5, 93 columnWidth: 0.5,
94 recordId: this.record ? this.record.get('id') : null,
95 flex: 1 95 flex: 1
96 }, { 96 }, {
97 xtype: 'nuklidegrid', 97 xtype: 'nuklidegrid',
98 recordId: this.record? this.record.get('id') : null,
99 columnWidth: 0.5, 98 columnWidth: 0.5,
99 recordId: this.record ? this.record.get('id') : null,
100 flex: 1 100 flex: 1
101 }] 101 }]
102 }] 102 }]
103 }]; 103 }];
104 this.callParent(arguments); 104 this.callParent(arguments);
150 } 150 }
151 me.setLoading(false); 151 me.setLoading(false);
152 }, 152 },
153 scope: this 153 scope: this
154 }); 154 });
155
156 } 155 }
157 // Create a Create Window 156 // Create a Create Window
158 else { 157 else {
159 var record = Ext.create('Lada.model.Messprogramm'); 158 var record = Ext.create('Lada.model.Messprogramm');
160 this.down('messmethodengrid').setReadOnly(true); 159 this.down('messmethodengrid').setReadOnly(true);

http://lada.wald.intevation.org