You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var$vex=vex.dialog.alert({message: 'Message',onSubmit: function(e){vex.showLoading();// Prevent dialog from closing nowe.preventDefault();// Asychronously close this dialog// (uses `setTimeout`, but could be `$.ajax` instead)setTimeout(function(){vex.hideLoading();vex.close($vex.data().vex.id);},2000);}});
(Note: The use of vex.showLoading and vex.hideLoading is purely cosmetic here.)
I need to NOT close dialog right after clicking
Ok
button. (I'm waiting for response of ajax call), I seeonSubmit
option (https://github.com/HubSpot/vex/blob/master/js/vex.dialog.js#L53) is it the only way to reinit it?Maybe I missed some option?
The text was updated successfully, but these errors were encountered: