Commit d02269e0 authored by Romain Courteaud's avatar Romain Courteaud

erp5_core: fixup activity watcher

See ed0c1297
parent 54929d3b
......@@ -127,8 +127,12 @@
//Exception is raised if network is lost for some reasons,
//in this case, try patiently until network is back.
console.warn("Unable to fetch activities from ERP5", error);
form_gadget.element.querySelector(".activity_watcher_gadget")
.textContent = "Unable to fetch activities from ERP5";
return form_gadget.getDeclaredGadget('html_viewer')
.push(function (html_viewer) {
return html_viewer.render({
value: "Unable to fetch activities from ERP5"
});
});
});
}, 1000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment