When reloading state, ask for a re-render of each dashlet as we'll need their scripts to be re-executed (that also make the data refresh)

This commit is contained in:
Stephen Abello
2026-01-23 11:05:16 +01:00
parent 1bb7ddd488
commit ceda1d40f8
4 changed files with 57 additions and 39 deletions

View File

@@ -49,7 +49,7 @@ class IboDashlet extends HTMLElement {
return oDashlet;
}
Serialize(bIncludeHtml = false) {
Serialize() {
// TODO 3.3 Should we use getters ?
let aDashletData = {
id: this.sDashletId,
@@ -57,10 +57,6 @@ class IboDashlet extends HTMLElement {
properties: JSON.parse(this.formData),
};
if(bIncludeHtml) {
aDashletData.html = this.outerHTML;
}
return aDashletData;
}
}