@@ -22,8 +22,13 @@
 | 
			
		||||
{% endblock %}
 | 
			
		||||
{% block js %}
 | 
			
		||||
    <script type="text/javascript">
 | 
			
		||||
$( document ).ready(function() {
 | 
			
		||||
setInterval(function(){$( "#desk_data" ).load( "#")},2000);
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
    $.ajaxSetup({ cache: false });
 | 
			
		||||
    window.setInterval(refresh_page, 1000);
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
function refresh_page() {
 | 
			
		||||
    $('#desk_data').load('#')
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user