diff --git a/mozilla/calendar/resources/content/calendarCreation.js b/mozilla/calendar/resources/content/calendarCreation.js index a62bb1a810f..f9a63a8ff52 100644 --- a/mozilla/calendar/resources/content/calendarCreation.js +++ b/mozilla/calendar/resources/content/calendarCreation.js @@ -70,10 +70,12 @@ function checkRequired() { function onInitialAdvance() { var type = document.getElementById('calendar-type').selectedItem.value; var page = document.getElementsByAttribute('pageid', 'initialPage')[0]; - if (type == 'local') + if (type == 'local') { + prepareCreateCalendar(); page.next = 'customizePage'; - else + } else { page.next = 'locationPage'; + } } /**