Bug 310842 this.mBaseItem.getRecurrenceStartDate is not a function, push does not return array. patch by gekacheka@yahoo.com r=jminta

git-svn-id: svn://10.0.0.236/trunk@181452 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jminta%gmail.com 2005-10-02 22:26:19 +00:00
parent 01b991f2ac
commit a5124aa789

View File

@ -258,7 +258,7 @@ calRecurrenceInfo.prototype = {
if (!this.mBaseItem)
throw Components.results.NS_ERROR_NOT_INITIALIZED;
var startDate = this.mBaseItem.getRecurrenceStartDate();
var startDate = this.mBaseItem.recurrenceStartDate;
var dates = [];
for each (ritem in this.mRecurrenceItems) {
@ -269,7 +269,7 @@ calRecurrenceInfo.prototype = {
if (ritem.isNegative)
dates = dates.filter(function (d) { return (d.compare(date) != 0); });
else
dates = dates.push(date);
dates.push(date);
}
// if no dates, there's no next