From 92132c1b99db93134097add5e88eaa90e2f3a1c7 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 11 Jan 2022 15:06:54 +0100 Subject: [PATCH] Fix file picker not respecting hidden files settings This will only respect the setting inside the file app. For other apps we will either need to do an API call or add an input field with the same idea to spare a blocking api call. Signed-off-by: Carl Schwan (cherry picked from commit 1fa58be1aa78ff6216b7a129925a7bb270ac9fe1) --- core/js/dist/login.js | 2 +- core/js/dist/login.js.map | 2 +- core/js/dist/main.js | 2 +- core/js/dist/main.js.map | 2 +- core/src/OC/dialogs.js | 10 ++++++++++ 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/core/js/dist/login.js b/core/js/dist/login.js index 485ba22c10d42..b487a4240780d 100644 --- a/core/js/dist/login.js +++ b/core/js/dist/login.js @@ -68,7 +68,7 @@ a.version="2.29.1",t=kt,a.fn=gn,a.min=function(){var e=[].slice.call(arguments,0 * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * - */var I={YES_NO_BUTTONS:70,OK_BUTTONS:71,FILEPICKER_TYPE_CHOOSE:1,FILEPICKER_TYPE_MOVE:2,FILEPICKER_TYPE_COPY:3,FILEPICKER_TYPE_COPY_MOVE:4,FILEPICKER_TYPE_CUSTOM:5,dialogsCounter:0,alert:function(e,t,n,r){this.message(e,t,"alert",I.OK_BUTTON,n,r)},info:function(e,t,n,r){this.message(e,t,"info",I.OK_BUTTON,n,r)},confirm:function(e,t,n,r){return this.message(e,t,"notice",I.YES_NO_BUTTONS,n,r)},confirmDestructive:function(e,t,n,r,a){return this.message(e,t,"none",n,r,void 0===a||a)},confirmHtml:function(e,t,n,r){return this.message(e,t,"notice",I.YES_NO_BUTTONS,n,r,!0)},prompt:function(e,n,r,a,i,o){return s.a.when(this._getMessageTemplate()).then((function(u){var l="oc-dialog-"+I.dialogsCounter+"-content",c="#"+l,f=u.octemplate({dialog_name:l,title:n,message:e,type:"notice"}),p=s()("");p.attr("type",o?"password":"text").attr("id",l+"-input").attr("placeholder",i);var m=s()("