@ -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); }
@ -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)) {