mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add javascript for continuosily upating task list
This commit is contained in:
parent
a76e1de49e
commit
ae288c83f2
|
@ -693,5 +693,12 @@ $(document).ready(function() {
|
|||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
var checkTasks = function() {
|
||||
$("#menu-tasks > ul > li").html('Loading').hide().load('../op/op.Ajax.php?command=view&view=menutasks').fadeIn('500')
|
||||
timeOutId = setTimeout(checkTasks, 10000);
|
||||
}
|
||||
// timeOutId = setTimeout(checkTasks, 30000);
|
||||
checkTasks();
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user