From f6f57bcfa901662cafaa4ef75d454bab97e0009f Mon Sep 17 00:00:00 2001 From: "michael.buettner%sun.com" Date: Wed, 12 Sep 2007 08:11:59 +0000 Subject: [PATCH] Bug 370435 - Review prototype event dialog, r=ctalbert git-svn-id: svn://10.0.0.236/trunk@235532 18797224-902f-48f8-a5cc-f745e15eee43 --- .../prototypes/wcap/sun-calendar-event-dialog.js | 9 --------- .../prototypes/wcap/sun-calendar-event-dialog.xul | 6 ------ 2 files changed, 15 deletions(-) diff --git a/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js b/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js index dce6d5699ac..f0089ac4cac 100644 --- a/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js +++ b/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.js @@ -1702,20 +1702,11 @@ function saveItem() { } function onCommandSave() { - var progress = document.getElementById("statusbar-progress"); - progress.setAttribute("mode", "undetermined"); - var originalItem = window.calendarItem; var item = saveItem(); var calendar = document.getElementById("item-calendar") .selectedItem.calendar; window.onAcceptCallback(item, calendar, originalItem); - - var callback = function onCommandSave_callback() { - progress.setAttribute("mode", "normal"); - } - setTimeout(callback, 1000); - item.makeImmutable(); window.calendarItem = item; } diff --git a/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.xul b/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.xul index 68e336fbe94..d89589728ff 100644 --- a/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.xul +++ b/mozilla/calendar/prototypes/wcap/sun-calendar-event-dialog.xul @@ -937,12 +937,6 @@ collapsed="true" value="high"/> - - -