Remove emtpy modal calls.
modal('show') should work for all versions of bootstrap.
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
function sendEmail() {
|
||||
$("#modal-title").html("Send Link")
|
||||
$("#modal-body").html("Sending Email, Please wait....");
|
||||
$("#popUpModal").modal();
|
||||
$("#popUpModal").modal('show');
|
||||
$.ajax({
|
||||
"url":"{% url 'td_sendemail' %}",
|
||||
@@ -61,8 +60,7 @@
|
||||
$("#actionBtn").remove();
|
||||
$("#modal-footer").prepend("<button id='actionBtn' class='btn btn-success' onclick='checkMFA()'>Trust Device</button>")
|
||||
$("#modal-body").html(data)
|
||||
$("#popUpModal").modal()
|
||||
$("#popUpModal").modal('show')
|
||||
$("#popUpModal").modal('show');
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user