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.
This commit is contained in:
Squidly271
2020-08-09 15:08:41 -04:00
committed by GitHub
parent bcae84134e
commit 2cfd63a05b

View File

@@ -78,7 +78,7 @@ function provisionSSL(button) {
};
var success_rebind_check = function(data) {
$.post("/webGui/include/CertUpload.php",{text:data.bundle,csrf_token:"<?=$var['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);