Commit 8b1a8c67aa4be751c493cde4e69cbbfeed6d3c20
1 parent
46bd4591
Exists in
master
and in
64 other branches
patch bug ouverture operation plot
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
js/app/views/IntervalUI.js
... | ... | @@ -122,7 +122,7 @@ Ext.define('amdaUI.IntervalUI', { |
122 | 122 | // get stop value |
123 | 123 | var stop = this.getStopTime(); |
124 | 124 | // if duration computable |
125 | - if (stop != null && start != null) { | |
125 | + if (Ext.isDate(start) && Ext.isDate(stop)) { | |
126 | 126 | if ( stop <= start ) { |
127 | 127 | form.findField('stopDate').markInvalid('Stop Time must be after Start Time'); |
128 | 128 | } else { |
... | ... |
js/app/views/PlotComponents/PlotZoomPlug.js
... | ... | @@ -218,7 +218,7 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { |
218 | 218 | items: [ |
219 | 219 | { |
220 | 220 | xtype: 'datefield', name: 'zoom-min-time', fieldLabel: 'Start Time', |
221 | - format: 'Y/m/d H:i:s.u' | |
221 | + format: 'Y/m/d H:i:s.u', | |
222 | 222 | }, |
223 | 223 | { |
224 | 224 | xtype: 'datefield', name: 'zoom-max-time', fieldLabel: 'Stop Time', |
... | ... | @@ -387,7 +387,7 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { |
387 | 387 | |
388 | 388 | this.form = new Ext.form.FormPanel({ |
389 | 389 | frame: true, |
390 | - width: 250, | |
390 | + width: 255, | |
391 | 391 | layout: { |
392 | 392 | type: 'vbox', |
393 | 393 | pack: 'start', |
... | ... |