bug 356183 - Prevents CalDAV provider from throwing on VTODO retrieval. Patch by Bruno Browning <browning@uwalumni.com> r=lilmatt,jminta

This commit is contained in:
mattwillis%gmail.com 2006-10-28 01:28:44 +00:00
Родитель 4fc4167051
Коммит 281508a843
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -718,11 +718,11 @@ calDavCalendar.prototype = {
items = [ item ]; items = [ item ];
} }
rv = Components.results.NS_OK; rv = Components.results.NS_OK;
} else if (item.QueryInterface(Ci.calIEvent)) { } else if (item.instanceof Ci.calIEvent) {
iid = Ci.calIEvent; iid = Ci.calIEvent;
rv = Components.results.NS_OK; rv = Components.results.NS_OK;
items = [ item ]; items = [ item ];
} else if (item.QueryInterface(Ci.calITodo)) { } else if (item.instanceof Ci.calITodo) {
iid = Ci.calITodo; iid = Ci.calITodo;
rv = Components.results.NS_OK; rv = Components.results.NS_OK;
items = [ item ]; items = [ item ];