From cdfa5041a3821b00de8bc18df43970378b72a809 Mon Sep 17 00:00:00 2001 From: maxkadushkin Date: Tue, 23 May 2023 23:00:36 +0300 Subject: [PATCH] [desktop] fix bug 62648 --- .../documenteditor/forms/app/controller/ApplicationController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/documenteditor/forms/app/controller/ApplicationController.js b/apps/documenteditor/forms/app/controller/ApplicationController.js index 35b216adad..27cde2c251 100644 --- a/apps/documenteditor/forms/app/controller/ApplicationController.js +++ b/apps/documenteditor/forms/app/controller/ApplicationController.js @@ -1394,6 +1394,7 @@ define([ me._isDocReady = true; this.hidePreloader(); this.onLongActionEnd(Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument); + Common.NotificationCenter.trigger('app:ready', this.appOptions); var zf = (this.appOptions.customization && this.appOptions.customization.zoom ? parseInt(this.appOptions.customization.zoom) : 100); (zf == -1) ? this.api.zoomFitToPage() : ((zf == -2) ? this.api.zoomFitToWidth() : this.api.zoom(zf>0 ? zf : 100));