/*! Bootstrap modal dialog (for jQuery Dirty Forms) | v2.0.0 | github.com/snikch/jquery.dirtyforms (c) 2015 Shad Storhaug License MIT */ !function(t,e,s,a){var i=' ';t.DirtyForms.dialog={title:i+"Are you sure you want to do that?",proceedButtonClass:"dirty-proceed",proceedButtonText:"Leave This Page",stayButtonClass:"dirty-stay",stayButtonText:"Stay Here",dialogID:"dirty-dialog",titleID:"dirty-title",messageClass:"dirty-message",preMessageText:"",postMessageText:"",replaceText:!0,open:function(e,s){var a=t("#"+this.dialogID);0===a.length&&(a=t(''),t("body").append(a).data("df-dialog-appended",!0)),this.replaceText&&(a.find("#"+this.titleID).html(this.title),a.find("."+this.messageClass).html(this.preMessageText+s+this.postMessageText),a.find("."+this.proceedButtonClass).html(this.proceedButtonText),a.find("."+this.stayButtonClass).html(this.stayButtonText)),e.bindEscKey=!1;var i=function(){e.proceed=t.DirtyForms.choiceContinue=!0},o=function(s){var i=e.isDF1?t.DirtyForms.choiceCommit:e.commit;i(s),t("body").data("df-dialog-appended")===!0&&a.remove()};a.find("."+this.proceedButtonClass).off("click",i).on("click",i),a.off("hidden.bs.modal",o).on("hidden.bs.modal",o),a.modal({show:!0})},fire:function(t,e){this.title=i+e,this.open({isDF1:!0},t)},bind:function(){},stash:function(){return!1},refire:function(){return!1},selector:"no-op"}}(jQuery,window,document); //# sourceMappingURL=jquery.dirtyforms.dialogs.bootstrap.min.js.map