From 37a72d2f87db844463ee2e127ff410a47486fd10 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 25 Oct 2019 16:36:00 +0200 Subject: [PATCH] Fix more issues when changing password of a readonly folder --- www/common/common-ui-elements.js | 2 +- www/common/cryptpad-common.js | 1 + www/common/drive-ui.js | 3 ++- www/common/outer/sharedfolder.js | 16 +++++++--------- www/common/outer/team.js | 18 ++++++++++++------ www/common/proxy-manager.js | 12 +++++++----- www/common/userObject.js | 3 ++- www/teams/inner.js | 3 +++ 8 files changed, 35 insertions(+), 23 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 6df68a3f9..d097994ca 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -629,7 +629,7 @@ define([ }; var getPadProperties = function (common, data, cb) { var $d = $('
'); - if (!data || (!data.href && !data.roHref)) { return void cb(void 0, $d); } + if (!data) { return void cb(void 0, $d); } if (data.href) { $('