From 51b1c19e77bbf97848e18e9042a26fe06d673fc1 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 21 Oct 2019 17:13:46 +0200 Subject: [PATCH] Fix shared folder password prompt UI --- www/common/drive-ui.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 551209fe3..298209284 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4423,15 +4423,8 @@ define([ var nt = nThen; var passwordModal = function (fId, data, cb) { var content = []; - var folderName = ''+ (data.lastTitlei || Messages.fm_newFolder) +''; + var folderName = ''+ (data.lastTitle || Messages.fm_newFolder) +''; content.push(UI.setHTML(h('p'), Messages._getKey('drive_sfPassword', [folderName]))); - if (data.lastTitle) { - content.push(h('p', [ - Messages.fm_folderName, - ' ', - h('input', data.lastTitle) - ])); - } var newPassword = UI.passwordInput({ id: 'cp-app-prop-change-password', placeholder: Messages.settings_changePasswordNew,