", title: "Confirm Mail-Is-Up", yesText: 'Yes', noText: 'No', isButton: true, callbackTrue: function() { $.ajax({ method: "POST", async : false, url: "/DesktopModules/RsaServices/API/RsaService/SetMailIsUp", data : {RsaId: 187}, success: function(data) { alert(data); }, error: function (e) { alert("Error: " + e.message); } }); window.location.replace(window.location.pathname); } }); $("#setMailIsNotUp-btn").dnnConfirm({ text: "