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

View file

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