diff --git a/customize.dist/loading.js b/customize.dist/loading.js index 5d90f37f9..cc19d3544 100644 --- a/customize.dist/loading.js +++ b/customize.dist/loading.js @@ -321,7 +321,6 @@ button:not(.btn).primary:hover{ if (data.type === "offline") { try { isOffline = true; - Messages.offlineError = "OFFLINE MODE NOT AVAILABLE"; // XXX document.querySelector('#cp-loading-message').setAttribute('style', 'display:block;'); document.querySelector('#cp-loading-message').innerText = Messages.offlineError; } catch (e) { console.error(e); } diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index d6679e683..ca44e0164 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4377,7 +4377,7 @@ define([ if (manager.isFolder(el) && !manager.isSharedFolder(el) && !anonDrive) { // Folder // disconnected if (!APP.editable) { - return void UI.warn(Messages.error); // XXX + return void UI.warn(Messages.error); } // if folder is inside SF else if (manager.isInSharedFolder(paths[0].path)) {