I noticed that if I run $("#someModal").modal right after waitingDialog.hide() "expands" the page, or more like it moves the page to the left and I could see a space on the right side of my navigation bar. My solution is:
/**
* Closes dialog
*/
hide: function (callback) {
$dialog.modal('hide');
if(callback){
$dialog.on('hidden.bs.modal', function(){
callback();
});
}
}
now, you can show the next modal asynchronously AFTER hiding the waitingDialog.
waitingDialog.hide(function(){
$("#someModal").modal();
});
I noticed that if I run
$("#someModal").modalright afterwaitingDialog.hide()"expands" the page, or more like it moves the page to the left and I could see a space on the right side of my navigation bar. My solution is:now, you can show the next modal asynchronously AFTER hiding the waitingDialog.