CC-2839: End Date and Time show NaN when incorrect start date is entered
- fixed
This commit is contained in:
parent
fb3b088f04
commit
637eaafcc4
|
@ -381,6 +381,9 @@ function setAddShowEvents() {
|
|||
}else{
|
||||
duration = '0m';
|
||||
}
|
||||
if(isNaN(duration)){
|
||||
duration = '1h';
|
||||
}
|
||||
$('#add_show_duration').val(duration);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue