forked from DGNum/gestioCOF
unknow status updated every 30s
This commit is contained in:
parent
0f96d3bc46
commit
f8e09cf257
1 changed files with 8 additions and 0 deletions
|
@ -6,8 +6,16 @@ function kfet_open(init_date, init_satus) {
|
|||
var unknown_color = "#ECD03E";
|
||||
var kfet_open_date = init_date;
|
||||
var kfet_open = init_status;
|
||||
|
||||
// INITIALISAITION
|
||||
update_open_bullet();
|
||||
|
||||
// On recherge toute les 30sec
|
||||
// (dans le cas où le statut deviendrait inconn)
|
||||
setInterval(function() {
|
||||
update_open_bullet();
|
||||
}, 30 * 1000); // 60 * 1000 milsec
|
||||
|
||||
// FONCTIONS
|
||||
function nb_min_diff() {
|
||||
var date_now = new Date();
|
||||
|
|
Loading…
Reference in a new issue