initializ UI after server reconnection

- Non-edit mode does not intialized after server reconnection
- this patch will fix initializedUI after reconnection
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I43405067287dd3f7f134fc9dcabfdcae183724ce
pull/8953/head
Darshan-upadhyay1110 2024-05-01 22:41:41 +05:30 committed by Szymon Kłos
parent ced7998b1b
commit a7a541ad14
1 changed files with 2 additions and 0 deletions

View File

@ -1447,6 +1447,8 @@ app.definitions.Socket = L.Class.extend({
this._map.setPermission(app.file.permission);
window.migrating = false;
this._map.uiManager.initializeSidebar();
if (typeof window.initializedUI === 'function')
window.initializedUI();
}
this._map.fire('docloaded', {status: true});