mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42:17 +02:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user