Bug 742528 - Read Only Disabled When Calendar Is Cached. r=philipp, a=mmecca
authorMatthew Mecca <matthew.mecca@gmail.com>
Sat, 08 Dec 2012 13:10:08 -0500
changeset 13616 7c6897b7efac220e5e5b7baddb44bddd3eebc16f
parent 13615 a38bc62c8484328996fe339bb62b7e02887d7dc5
child 13617 3c20b0923d6db5ad01e0a8d49b522d527ff7f0fd
push id33
push usermatthew.mecca@gmail.com
push dateFri, 08 Feb 2013 22:30:17 +0000
reviewersphilipp, mmecca
bugs742528
Bug 742528 - Read Only Disabled When Calendar Is Cached. r=philipp, a=mmecca
calendar/providers/caldav/calDavCalendar.js
--- a/calendar/providers/caldav/calDavCalendar.js
+++ b/calendar/providers/caldav/calDavCalendar.js
@@ -268,18 +268,16 @@ calDavCalendar.prototype = {
                 this.mCtag = itemData;
                 this.mOfflineStorage.deleteMetaData("ctag");
             } else if (itemId == "webdav-sync-token") {
                 this.mWebdavSyncToken = itemData;
                 this.mOfflineStorage.deleteMetaData("sync-token");
             } else if (itemId == "calendar-properties") {
                 this.restoreCalendarProperties(itemData);
                 this.setProperty("currentStatus", Components.results.NS_OK);
-                this.readOnly = false;
-                this.disabled = false;
                 if (this.mHaveScheduling || this.hasAutoScheduling || this.hasFreeBusy) {
                     cal.getFreeBusyService().addProvider(this);
                 }
             } else {
                 var itemDataArray = itemData.split("\u001A");
                 var etag = itemDataArray[0];
                 var resourcePath = itemDataArray[1];
                 var isInboxItem = itemDataArray[2];