bug #359016 JavaScript error current item is not defined r=jminta

This commit is contained in:
thomas.benisch%sun.com 2006-11-07 10:30:33 +00:00
parent 31d0d7e733
commit 5bf9dc953f

View File

@ -336,7 +336,7 @@ calItemBase.prototype = {
},
getNext: function() {
if (!currentItem)
if (!this.currentItem)
throw Components.results.NS_ERROR_UNEXPECTED;
var rval = this.currentItem;