Commit fb23b7feff39063a67d482e7b6d227120f2eafd8
1 parent
99f64f2c
Exists in
master
and in
82 other branches
Save 'used first param. as reference for sampling' option
Showing
2 changed files
with
5 additions
and
4 deletions
Show diff stats
js/app/models/DownloadNode.js
js/app/views/DownloadUI.js
... | ... | @@ -235,7 +235,7 @@ Ext.define('amdaUI.DownloadUI', { |
235 | 235 | var timeSource = this.timeSelector.getActiveTimeSource(); |
236 | 236 | var filestructure = values.filestructure; |
237 | 237 | var sampling = values.sampling ? values.sampling : 600; |
238 | - var refparamSampling = values.refparamsampling == 'on'; | |
238 | + var refparamSampling = values.refparamSampling == 'on'; | |
239 | 239 | var fileprefix = values.fileprefix ? values.fileprefix : ''; |
240 | 240 | var fileformat = values.fileformat; |
241 | 241 | var compression = values.compression; |
... | ... | @@ -363,7 +363,7 @@ Ext.define('amdaUI.DownloadUI', { |
363 | 363 | if (!this.formPanel) |
364 | 364 | return; |
365 | 365 | |
366 | - var refParamCheck = this.formPanel.getForm().findField('refparamsampling'); | |
366 | + var refParamCheck = this.formPanel.getForm().findField('refparamSampling'); | |
367 | 367 | var samplingField = this.formPanel.getForm().findField('sampling'); |
368 | 368 | |
369 | 369 | if (samplingField && newValue !== oldValue) { |
... | ... | @@ -723,7 +723,7 @@ Ext.define('amdaUI.DownloadUI', { |
723 | 723 | { |
724 | 724 | xtype: 'checkbox', boxLabel: 'Use first param. as reference for sampling', |
725 | 725 | boxLabelAlign: 'before', |
726 | - name: 'refparamsampling', checked: false, disabled: true, | |
726 | + name: 'refparamSampling', checked: false, disabled: true, | |
727 | 727 | listeners: { |
728 | 728 | change: {fn: this.onRefParamSamplingChange}, |
729 | 729 | scope: this |
... | ... |