Skip Navigation
Open Menu

", //this is the html from the editor, EncodeForJavascript()? showCloseButton: true, confirmButtonColor: "#5E6061", //this is the button of the ok button confirmButtonText: "Close", // showConfirmButton: false, // allowOutsideClick: true, allowEscapeKey: true, customClass: 'sitewide-alert' }).then((result => { //this function executes after the ok button is pressed if(result.isConfirmed) { //if ok button pressed show the alert button document.getElementById('pop_alert').style.display = "block"; } })); // add close button and bind close event, if button does not exist if($('button.close', '.sweet-alert').length === 0) { $('.sweet-alert') .prepend($('