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