From 4391459f6d3372383af1c0188207ae71cedb41e7 Mon Sep 17 00:00:00 2001 From: "Berend.Cornelius%sun.com" Date: Thu, 28 Aug 2008 14:13:54 +0000 Subject: [PATCH] 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 --- mozilla/calendar/base/content/calendar-view-core.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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"); } ]]>