From 5bf9dc953f33fed33b7251f25e5c532eeb1e189a Mon Sep 17 00:00:00 2001 From: "thomas.benisch%sun.com" Date: Tue, 7 Nov 2006 10:30:33 +0000 Subject: [PATCH] bug #359016 JavaScript error current item is not defined r=jminta --- calendar/base/src/calItemBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/base/src/calItemBase.js b/calendar/base/src/calItemBase.js index 2f3f6ed66e95..ef0f35ee48bb 100644 --- a/calendar/base/src/calItemBase.js +++ b/calendar/base/src/calItemBase.js @@ -336,7 +336,7 @@ calItemBase.prototype = { }, getNext: function() { - if (!currentItem) + if (!this.currentItem) throw Components.results.NS_ERROR_UNEXPECTED; var rval = this.currentItem;