From 2cfd63a05bd552812d3059fe8a11690b20c6cbd2 Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Sun, 9 Aug 2020 15:08:41 -0400 Subject: [PATCH] Fix ' appearing @bergware You might want to do a search on every swal call. With multi-language, any time ' shows up in a swal dialog it shows up literally without html:true being set. This instance was obvious, since it appeared in English. --- plugins/dynamix/ManagementAccess.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/ManagementAccess.page b/plugins/dynamix/ManagementAccess.page index 233e60e31..f239f554e 100644 --- a/plugins/dynamix/ManagementAccess.page +++ b/plugins/dynamix/ManagementAccess.page @@ -78,7 +78,7 @@ function provisionSSL(button) { }; var success_rebind_check = function(data) { $.post("/webGui/include/CertUpload.php",{text:data.bundle,csrf_token:""},function(data2) { - swal({title:"",text:msg,type:"success",allowEscapeKey:false,confirmButtonText:"_(Ok)_"},function(){button.form.submit();}); + swal({title:"",text:msg,type:"success",allowEscapeKey:false,confirmButtonText:"_(Ok)_",html:true},function(){button.form.submit();}); }).fail(failure); }; $.post("/webGui/include/ProvisionCert.php",success_provision).fail(failure);