Bug 452417-readonly events should not show grippies on hover event;r=dbo

git-svn-id: svn://10.0.0.236/trunk@253918 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Berend.Cornelius%sun.com
2008-08-28 14:13:54 +00:00
parent 7ea412d690
commit 4391459f6d

View File

@@ -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");
}
]]></body>
</method>