mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
See ChangeLog
Monotone-Parent: c66c023a1a42d53c473a7338a49a9b456d889ed9 Monotone-Revision: 62137d02651888053a8bd415f6e6f5aa79e44cf4 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-10-28T17:48:22 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -717,15 +717,17 @@ function validateUploadForm () {
|
||||
rc = true;
|
||||
return rc;
|
||||
}
|
||||
function uploadCompleted (response) {
|
||||
data = response.evalJSON (true);
|
||||
function uploadCompleted(response) {
|
||||
data = response.evalJSON(true);
|
||||
|
||||
var div = $("uploadResults");
|
||||
$("uploadOK").onclick = hideImportResults;
|
||||
if (data.imported <= 0)
|
||||
$("uploadResultsContent").update (getLabel("An error occured while importing contacts."));
|
||||
$("uploadResultsContent").update(getLabel("An error occured while importing contacts."));
|
||||
else if (data.imported == 0)
|
||||
$("uploadResultsContent").update(getLabel("No card was imported."));
|
||||
else {
|
||||
$("uploadResultsContent").update (getLabel("Imported contacts:") + " " + data.imported);
|
||||
$("uploadResultsContent").update(getLabel("A total of %{0} cards were imported in the addressbook.").formatted(data.imported));
|
||||
refreshCurrentFolder ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user