parent
11ff3b02fd
commit
e63120549c
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user