From bf3ec59ae8a5abcb521a0c23e20161471d42f665 Mon Sep 17 00:00:00 2001 From: "mozilla%kewis.ch" Date: Sat, 16 Feb 2008 13:02:28 +0000 Subject: [PATCH] I forgot to address the review comments to bug 417508, taking care git-svn-id: svn://10.0.0.236/trunk@245822 18797224-902f-48f8-a5cc-f745e15eee43 --- .../calendar/prototypes/wcap/sun-calendar-event-dialog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js b/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js index 0faa0c7caaa..94f7dd4ec43 100644 --- a/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js +++ b/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js @@ -710,6 +710,10 @@ function updateReminder() { } function saveDialog(item) { + // Calendar + item.calendar = document.getElementById("item-calendar") + .selectedItem.calendar; + setItemProperty(item, "title", getElementValue("item-title")); setItemProperty(item, "LOCATION", getElementValue("item-location")); @@ -731,10 +735,6 @@ function saveDialog(item) { setCategory(item, "item-categories"); - // Calendar - item.calendar = document.getElementById("item-calendar") - .selectedItem.calendar; - // URL setItemProperty(item, "URL", gURL, "attachments");