mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-10 05:55:25 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user