cosmetic cleanup, mostly in encryption

This commit is contained in:
azivner
2017-11-08 22:33:08 -05:00
parent cd5f742a7b
commit 4efa00f36b
12 changed files with 74 additions and 80 deletions

View File

@@ -8,16 +8,16 @@ function syncNow() {
if (result.success) {
status.checkStatus();
message("Sync finished successfully.");
showMessage("Sync finished successfully.");
}
else {
if (result.message.length > 50) {
result.message = result.message.substr(0, 50);
}
error("Sync failed: " + result.message);
showError("Sync failed: " + result.message);
}
},
error: () => error("Sync failed for unknown reason.")
error: () => showError("Sync failed for unknown reason.")
});
}