Version 2026.5.17 — Popup user-badge avec ligne session (MM:SS)
- Couleur selon seuil [code interpolé]
This commit is contained in:
+2
-6
@@ -193,12 +193,8 @@ async function fetchFicheHtml(origin, phpsessid, formLink) {
|
||||
// Sinon : on retourne ce qu'on a
|
||||
return html;
|
||||
}
|
||||
const html = await r.text();
|
||||
console.log("[bg] fiche status =", r.status, "| taille =", html.length);
|
||||
if (html.length < 500) {
|
||||
console.warn("[bg] ⚠ fiche très courte, contenu =", JSON.stringify(html));
|
||||
}
|
||||
return html;
|
||||
// Ne devrait pas arriver (la boucle fait return avant)
|
||||
throw new Error("fetchFicheHtml: max retries reached");
|
||||
}
|
||||
|
||||
// v4.1.7 : API timeline EasyVista. Renvoie le JSON des actions d'une fiche,
|
||||
|
||||
Reference in New Issue
Block a user