diff --git a/src/static/js/tutorial.js b/src/static/js/tutorial.js index b16f2ab..29b8c25 100644 --- a/src/static/js/tutorial.js +++ b/src/static/js/tutorial.js @@ -194,7 +194,7 @@ const Tutorial = { } // Aktuelles Layout sichern und Standard-Layout erzwingen if (typeof LayoutManager !== 'undefined' && LayoutManager._grid) { - this._savedState.savedLayout = LayoutManager._grid.save(false); + this._savedState.savedLayout = LayoutManager._grid.engine.nodes.map(function(n) { return { id: n.el ? n.el.getAttribute("gs-id") : n.id, x: n.x, y: n.y, w: n.w, h: n.h }; }); LayoutManager._applyLayout(LayoutManager.DEFAULT_LAYOUT); } // GridStack Resize triggern damit Kacheln korrekt positioniert werden