fix code for accounting modal view

This commit is contained in:
2017-04-27 13:56:18 +02:00
parent 7ad3a3e22d
commit f0ed2a5195
4 changed files with 35 additions and 23 deletions

View File

@@ -20,6 +20,12 @@ $(document).ready(function() {
function refresh_page() {
$('#desk_data').load('#');
$('#modal-wrapper').load('{% url 'billard:account_modal' %}', function() {
if ( $('#accountsmodal').length ) {
window.clearInterval(interval);
$('#accountsmodal').modal('show');
}
});
}
</script>
{% endblock %}