Commit 6278bb78 authored by Eric Seigne's avatar Eric Seigne
Browse files

gestion des erreurs

parent b9cb5225
......@@ -163,6 +163,11 @@ function downloadCustomLogo() {
});
}
function onErrorResolveLocalFileSystemURL(error) {
myDebug('onErrorResolveLocalFileSystemURL error : ' + error.code);
}
function saveLogoFile(data, isBase64 = false) {
myDebug("saveLogoFile");
......@@ -182,7 +187,7 @@ function saveLogoFile(data, isBase64 = false) {
myDebug(' saveLogoFile Write of file completed.');
// myDebug(fileEntry.fullPath);
// myDebug(fileEntry);
loadCustomLOGO();
loadCustomLogo();
};
fileWriter.onerror = function (e) {
......@@ -198,7 +203,8 @@ function saveLogoFile(data, isBase64 = false) {
}
});
});
});
}, onErrorResolveLocalFileSystemURL);
myDebug(" saveLogoFile end");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment