updated modal code
This commit is contained in:
parent
d2e56b99b8
commit
8e95ae4ff5
@ -31,9 +31,10 @@ $(document).ready(function() {
|
||||
|
||||
function refresh_page() {
|
||||
$('#desk_data').load('#');
|
||||
$('#accountsmodal').modal('hide');
|
||||
$('#modal-wrapper').load('{% url 'accountmodal' %}');
|
||||
$('#modal-wrapper').load('{% url 'accountmodal' %}', function() {
|
||||
$('.modal').modal('hide');
|
||||
$('#accountsmodal').modal('show');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user