Fixed stupid condition.

Monotone-Parent: 1aaea249ad1360b144fa338a55f11cad2cf930d0
Monotone-Revision: 5052783f79bc86c62042f5d4a556a3573c4a3876

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-09-28T15:06:54
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-09-28 15:06:54 +00:00
parent ed6ca84762
commit 8b591d6f07
+1 -1
View File
@@ -1984,7 +1984,7 @@ function uploadCompleted (response) {
var div = $("uploadResults");
$("uploadOK").onclick = hideImportResults;
if (data.imported <= 0)
if (data.imported < 0)
$("uploadResultsContent").update (getLabel("An error occured while importing calendar."));
else {
$("uploadResultsContent").update (getLabel("Imported events:") + " " + data.imported);