mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Allow dashboard to restore state (either saved state or from backend). Restore old state on edition cancel
This commit is contained in:
@@ -39,7 +39,7 @@ class IboGridSlot extends HTMLElement {
|
||||
return oSlot;
|
||||
}
|
||||
|
||||
Serialize() {
|
||||
Serialize(bIncludeHtml = false) {
|
||||
const oDashlet = this.oDashlet;
|
||||
|
||||
const aSlotData = {
|
||||
@@ -49,7 +49,7 @@ class IboGridSlot extends HTMLElement {
|
||||
height: this.iHeight
|
||||
};
|
||||
|
||||
const aDashletData = oDashlet ? oDashlet.Serialize() : {};
|
||||
const aDashletData = oDashlet ? oDashlet.Serialize(bIncludeHtml) : {};
|
||||
|
||||
return {
|
||||
...aSlotData,
|
||||
|
||||
Reference in New Issue
Block a user