diff --git a/www/drive/inner.js b/www/drive/inner.js index 8b8055778..80634bd67 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -3378,6 +3378,11 @@ define([ var path = data.path.slice(); var originalPath = data.path.slice(); + if (!APP.loggedIn && APP.newSharedFolder && data.id === APP.newSharedFolder) { + // ANON_SHARED_FOLDER + return void onRefresh.refresh(); + } + // Fix the path if this is about a shared folder if (data.id && manager.folders[data.id]) { var uoPath = manager.getUserObjectPath(manager.folders[data.id].userObject); @@ -3408,6 +3413,11 @@ define([ var path = data.path.slice(); + if (!APP.loggedIn && APP.newSharedFolder && data.id === APP.newSharedFolder) { + // ANON_SHARED_FOLDER + return void onRefresh.refresh(); + } + // Fix the path if this is about a shared folder if (data.id && manager.folders[data.id]) { var uoPath = manager.getUserObjectPath(manager.folders[data.id].userObject);