From f2ebd369efa56657f646f0176ad973779b612f30 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 17 Oct 2022 10:52:28 -0600 Subject: [PATCH] Admin: Fix user list was 100px tall when switching Global Categories -> User accounts --- admin/js/app.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/admin/js/app.ts b/admin/js/app.ts index ef8eb6afc1..ef40626e04 100644 --- a/admin/js/app.ts +++ b/admin/js/app.ts @@ -211,6 +211,12 @@ class AdminApp extends EgwApp this.nm.set_disabled(!!_url || ajax); this.groups.set_disabled(true); this.ajax_target.set_disabled(!ajax); + + if(!this.nm.disabled) + { + // If nm was just re-enabled, resize it _after_ ajax_target gets hidden + this.ajax_target.updateComplete.then(() => this.nm.resize()) + } } /**