Checked in attachment 164979 for bug 253420:

no import of tasks from ical files
This commit is contained in:
mostafah%oeone.com 2004-11-08 17:12:24 +00:00
parent 32f7dae0fb
commit 7be3d366d5

View File

@ -248,7 +248,8 @@ function loadEventsFromFile()
// If there were no events or todos to import, let the user know
//
if (parsedEventArray.length == 0 && parsedToDoArray.length == 0)
if (calendarEventArray.length == 0 && duplicateEventArray.length == 0 &&
calendarToDoArray.length == 0 && duplicateToDoArray.length == 0)
alert( gCalendarBundle.getFormattedString( "noEventsOrTasksToImport", [fromFileNames] ) );
}
return true;