diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index da3811c0c..6fbc381b7 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -3908,6 +3908,7 @@ define([ } if (APP.readOnly && !APP.loggedIn) { + // XXX this incorrectly prompts guests to login/register even when they lack editing rights. (function () { var $banner = $(Pages.setHTML(h('div.cp-app-drive-content-info-box'), Messages.fm_info_sharedFolder)); $banner.find('[href="/login/"], [href="/register/"]').click(function (ev) {