Commit a118abfb261f3d3b192b7764d36b4f161cdf25ef
1 parent
15171cfc
Exists in
master
and in
95 other branches
clearInvalid
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
js/app/views/IntervalUI.js
... | ... | @@ -125,6 +125,9 @@ Ext.define('amdaUI.IntervalUI', { |
125 | 125 | if (stop != null && start != null) { |
126 | 126 | if ( stop <= start ) { |
127 | 127 | form.findField('stopDate').markInvalid('Stop Time must be after Start Time'); |
128 | + } else { | |
129 | + if (!form.findField('stopDate').isValid()) | |
130 | + form.findField('stopDate').clearInvalid(); | |
128 | 131 | } |
129 | 132 | // compute offset |
130 | 133 | var zoneOffset = stop.getTimezoneOffset() - start.getTimezoneOffset(); |
... | ... |