From 65f46a50dc1980484e362b2077269dabf25757c6 Mon Sep 17 00:00:00 2001 From: Babu Vincent Date: Tue, 26 Apr 2016 17:29:21 +0530 Subject: [PATCH 1/2] strict error --- interfaces/exchangeBaseItem/mivExchangeBaseItem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/exchangeBaseItem/mivExchangeBaseItem.js b/interfaces/exchangeBaseItem/mivExchangeBaseItem.js index 9de0c2f3..b7df0d3b 100644 --- a/interfaces/exchangeBaseItem/mivExchangeBaseItem.js +++ b/interfaces/exchangeBaseItem/mivExchangeBaseItem.js @@ -3821,7 +3821,7 @@ dump("Error2:"+err+" | "+exchGlobalFunctions.STACK()+"\n"); attendee.convertFromExchange(this, aElement, aType); //dump(" -- CreateAttendee:"+attendee+", attendee.id:"+attendee.id+", title:"+this.title+"\n"); return attendee; - +/* let mbox = aElement.getTag("t:Mailbox"); var attendee = cal.createAttendee(); @@ -3870,7 +3870,7 @@ dump("Error2:"+err+" | "+exchGlobalFunctions.STACK()+"\n"); mbox = null; aElement = null; - return attendee; + return attendee; */ }, tryToSetDateValueUTC: function _tryToSetDateValueUTC(ewsvalue, aDefault) From 8edfea3b3a301169642e11346824a9353d00d3a8 Mon Sep 17 00:00:00 2001 From: Babu Vincent Date: Tue, 26 Apr 2016 17:22:07 +0530 Subject: [PATCH 2/2] js strict error --- interfaces/exchangeCalendar/mivExchangeCalendar.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interfaces/exchangeCalendar/mivExchangeCalendar.js b/interfaces/exchangeCalendar/mivExchangeCalendar.js index 3f9e2cd6..3a69a48f 100644 --- a/interfaces/exchangeCalendar/mivExchangeCalendar.js +++ b/interfaces/exchangeCalendar/mivExchangeCalendar.js @@ -1983,6 +1983,7 @@ calExchangeCalendar.prototype = { item: aItem, folderID: this.folderID, changeKey: this.changeKey, + actionStart: Date.now(), itemType: "single"}, function(erDeleteItemRequest) { self.deleteItemOk(erDeleteItemRequest);}, function(erDeleteItemRequest, aCode, aMsg) { self.deleteItemError(erDeleteItemRequest, aCode, aMsg);}, @@ -2024,6 +2025,7 @@ calExchangeCalendar.prototype = { folderID: this.folderID, changeKey: this.changeKey, itemType: "master", + actionStart: Date.now(), whichOccurrence: "all_occurrences"}, function(erDeleteItemRequest) { self.deleteItemOk(erDeleteItemRequest);}, function(erDeleteItemRequest, aCode, aMsg) { self.deleteItemError(erDeleteItemRequest, aCode, aMsg);}, @@ -2044,6 +2046,7 @@ calExchangeCalendar.prototype = { folderBase: this.folderBase, serverUrl: this.serverUrl, item: aItem, + actionStart: Date.now(), folderID: this.folderID, changeKey: this.changeKey, itemType: "single"}, @@ -5788,6 +5791,7 @@ if (this.debug) this.logInfo(" ;;;; rrule:"+rrule.icalProperty.icalString); masterID: aMasterId, masterChangeKey: aMasterChangeKey, itemIndex: aIndex, + actionStart: Date.now(), itemType: erGetOccurrenceIndexRequest.argument.itemType, whichOccurrence: erGetOccurrenceIndexRequest.argument.whichOccurrence}, function(erDeleteItemRequest) { self.deleteItemOk(erDeleteItemRequest);},