Admin: Fix user list was 100px tall when switching Global Categories -> User accounts

This commit is contained in:
nathan 2022-10-17 10:52:28 -06:00
parent bd62279f55
commit f2ebd369ef

View File

@ -211,6 +211,12 @@ class AdminApp extends EgwApp
this.nm.set_disabled(!!_url || ajax); this.nm.set_disabled(!!_url || ajax);
this.groups.set_disabled(true); this.groups.set_disabled(true);
this.ajax_target.set_disabled(!ajax); 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())
}
} }
/** /**