From f9f870b57527ca2706a4271cfdda32f509a577fc Mon Sep 17 00:00:00 2001 From: "daniel.boelzle%sun.com" Date: Fri, 14 Mar 2008 22:01:12 +0000 Subject: [PATCH] Bug 422898 Creation of new local calendar not possible; r=philipp git-svn-id: svn://10.0.0.236/trunk@247870 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/calendar/resources/content/calendarCreation.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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'; + } } /**