Fix bug 573196 - gInvitationsCalendarManagerObserver.mCount should be gInvitationsOperationListener.mCount. r=mschroeder
authorBoying Lu <brian.lu@sun.com>
Fri, 18 Jun 2010 22:13:00 +0200
changeset 5900 847ae9faa0cbe20fc550909ab103da7a0b1c9022
parent 5899 a8b8bdb983aa0f8abd8540179ab6c262f73588cd
child 5901 850307f86b28935754c9a1e05f81703193e67fd9
push idunknown
push userunknown
push dateunknown
reviewersmschroeder
bugs573196
Fix bug 573196 - gInvitationsCalendarManagerObserver.mCount should be gInvitationsOperationListener.mCount. r=mschroeder
calendar/lightning/content/messenger-overlay-sidebar.js
--- a/calendar/lightning/content/messenger-overlay-sidebar.js
+++ b/calendar/lightning/content/messenger-overlay-sidebar.js
@@ -370,29 +370,29 @@ var gInvitationsCalendarManagerObserver 
         this.mSideBar.rescheduleInvitationsUpdate(FIRST_DELAY_UNREGISTER);
     },
 
     onCalendarDeleting: function cMO_onCalendarDeleting(aCalendar) {
     }
 };
 
 function scheduleInvitationsUpdate(firstDelay) {
-    gInvitationsCalendarManagerObserver.mCount = 0;
+    gInvitationsOperationListener.mCount = 0;
     getInvitationsManager().scheduleInvitationsUpdate(firstDelay,
                                                       gInvitationsOperationListener);
 }
 
 function rescheduleInvitationsUpdate(firstDelay) {
     getInvitationsManager().cancelInvitationsUpdate();
     scheduleInvitationsUpdate(firstDelay);
 }
 
 function openInvitationsDialog() {
     getInvitationsManager().cancelInvitationsUpdate();
-    gInvitationsCalendarManagerObserver.mCount = 0;
+    gInvitationsOperationListener.mCount = 0;
     getInvitationsManager().openInvitationsDialog(
         gInvitationsOperationListener,
         function oiD_callback() {
             scheduleInvitationsUpdate(FIRST_DELAY_RESCHEDULE);
         });
 }
 
 /**