updated modal code
This commit is contained in:
parent
323ab5ae98
commit
51a5d1659a
@ -33,8 +33,10 @@ $(document).ready(function() {
|
|||||||
function refresh_page() {
|
function refresh_page() {
|
||||||
$('#desk_data').load('#');
|
$('#desk_data').load('#');
|
||||||
$('#modal-wrapper').load('{% url 'accountmodal' %}', function() {
|
$('#modal-wrapper').load('{% url 'accountmodal' %}', function() {
|
||||||
window.clearInterval(interval);
|
if ( $('#accountsmodal').length ) {
|
||||||
$('#accountsmodal').modal('show');
|
window.clearInterval(interval);
|
||||||
|
$('#accountsmodal').modal('show');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user