CC-2839: End Date and Time show NaN when incorrect start date is entered

- fixed
This commit is contained in:
James 2011-09-19 11:10:55 -04:00
parent fb3b088f04
commit 637eaafcc4
1 changed files with 3 additions and 0 deletions

View File

@ -381,6 +381,9 @@ function setAddShowEvents() {
}else{
duration = '0m';
}
if(isNaN(duration)){
duration = '1h';
}
$('#add_show_duration').val(duration);
}