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