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