diff --git a/mozilla/calendar/base/content/calendar-view-core.xml b/mozilla/calendar/base/content/calendar-view-core.xml index 8e97d7bd522..edcf8f23ebb 100644 --- a/mozilla/calendar/base/content/calendar-view-core.xml +++ b/mozilla/calendar/base/content/calendar-view-core.xml @@ -218,10 +218,6 @@ this.setAttribute("progress", getProgressAtom(item)); } - if (!isCalendarWritable(item.calendar)) { - this.setAttribute("readonly", "true"); - } - if (this.calendarView && item.hashId in this.calendarView.mFlashingEvents) { this.setAttribute("flashing", "true"); @@ -250,6 +246,9 @@ if (item.calendar instanceof Components.interfaces.calISchedulingSupport && item.calendar.isInvitation(item)) { this.setAttribute("invitation-status", item.calendar.getInvitedAttendee(item).participationStatus); + this.setAttribute("readonly", "true"); + } else if (!isCalendarWritable(item.calendar)) { + this.setAttribute("readonly", "true"); } ]]>