Commit 62dc10f64e997427d869813b0bfafaba6236feb4

Authored by Benjamin Renard
2 parents 1f3ee1cd 666c2dcb

Merge branch 'master' of https://gitlab.irap.omp.eu/CDPP/AMDA_IHM

help/parameters/RO-IRFU-LAP-EAICD-2_0_1_PDF_A.PDF deleted
No preview for this file type
help/parameters/RO-IRFU-LAP-EAICD.PDF 0 → 100644
No preview for this file type
js/app/views/StatisticsUI.js
... ... @@ -117,9 +117,8 @@ Ext.define('amdaUI.StatisticsUI',
117 117 updateObject : function()
118 118 {
119 119 // get the basic form of the left
120   - var basicForm = this.formPanel.items.items[0].getForm();
121   - var updateStatus = true;
122   -
  120 + var basicForm = this.formPanel.items.items[1].getForm();
  121 + var updateStatus = true;
123 122 var formValues = basicForm.getValues();
124 123 this.object.set('name',this.fieldName.getValue());
125 124 this.object.set('description',formValues.description);
... ... @@ -151,9 +150,8 @@ Ext.define('amdaUI.StatisticsUI',
151 150 +'<br>You must add one or choose Time Selection `by Interval`');
152 151 return false;
153 152 }
154   -
  153 +
155 154 basicForm.updateRecord(this.object);
156   -
157 155 this.object.set('timesrc', timeSource);
158 156 // set valid intervals into TimeTable object
159 157 if (timeSource === amdaModel.AmdaTimeObject.inputTimeSrc[0])
... ... @@ -180,15 +178,6 @@ Ext.define(&#39;amdaUI.StatisticsUI&#39;,
180 178 */
181 179 init : function (config)
182 180 {
183   -// var functions = Ext.create('Ext.data.Store', {
184   -// fields: ['id', 'name'],
185   -// data : [
186   -// {"id":"min", "name":"MIN"},
187   -// {"id":"max", "name":"MAX"},
188   -// {"id":"mean","name":"MEAN"}
189   -// ]
190   -// });
191   -
192 181 this.fieldName = new Ext.form.field.Text({
193 182 fieldLabel: 'Catalog Name',
194 183 allowBlank : false,
... ... @@ -385,7 +374,6 @@ Ext.define(&#39;amdaUI.StatisticsUI&#39;,
385 374 pack: 'start',
386 375 align: 'stretch'
387 376 },
388   - //bodyStyle: {background : '#dfe8f6'},
389 377 defaults: { bodyStyle: {background : '#dfe8f6'}, padding : '3'},
390 378 fieldDefaults: { labelWidth: 80, labelAlign : 'top' },
391 379 items: [ {
... ...