From 3365ab787a7e0e9f15a93eb736e7a82f516d0526 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 7 May 2020 16:52:27 +0200 Subject: [PATCH] Fix replacement dialog Signed-off-by: Roeland Jago Douma Signed-off-by: npmbuildbot[bot] --- 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/js/dist/maintenance.js | 2 +- core/js/dist/maintenance.js.map | 2 +- core/src/OC/dialogs.js | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/js/dist/login.js b/core/js/dist/login.js index c5c8e8da92..fc7f1aabd8 100644 --- a/core/js/dist/login.js +++ b/core/js/dist/login.js @@ -44,7 +44,7 @@ function(e){var t,n,r,i,a,o,s,u,c,l,d,f,h,p,m,_,y,v,g,M="sizzle"+1*new Date,L=e. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . - */var $={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",$.OK_BUTTON,n,r)},info:function(e,t,n,r){this.message(e,t,"info",$.OK_BUTTON,n,r)},confirm:function(e,t,n,r){return this.message(e,t,"notice",$.YES_NO_BUTTONS,n,r)},confirmDestructive:function(e,t,n,r,i){return this.message(e,t,"none",n,r,i)},confirmHtml:function(e,t,n,r){return this.message(e,t,"notice",$.YES_NO_BUTTONS,n,r,!0)},prompt:function(e,n,r,i,a,o){return s.a.when(this._getMessageTemplate()).then((function(u){var c="oc-dialog-"+$.dialogsCounter+"-content",d="#"+c,f=u.octemplate({dialog_name:c,title:n,message:e,type:"notice"}),h=s()("");h.attr("type",o?"password":"text").attr("id",c+"-input").attr("placeholder",a);var p=s()("