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