mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-16 03:30:49 +01:00
Home WIP: Avoid offscreen portlets even if screen size changes
This commit is contained in:
parent
11a9df7c7c
commit
f4c86c82ec
@ -167,7 +167,6 @@ export class HomeApp extends EgwApp
|
||||
let et2_data = et2.widgetContainer.getArrayMgr("content").data;
|
||||
let settings = et2_data && et2_data.id == portlet.id && et2_data || portlet_container.getArrayMgr("content").data.find(e => et2.uniqueId.endsWith(e.id)) || {settings: {}};
|
||||
portlet.settings = settings.settings || {};
|
||||
debugger;
|
||||
portlet.style.gridArea = settings.row + "/" + settings.col + "/ span " + (settings.height || 1) + "/ span " + (settings.width || 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user