[SSE mobile] load worksheets tabs on app launch

This commit is contained in:
Maxim Kadushkin 2016-12-23 15:07:54 +03:00
parent abdb11649a
commit 14d9de319f
2 changed files with 2 additions and 0 deletions

View file

@ -284,6 +284,7 @@ define([
if (type === Asc.c_oAscAsyncActionType.BlockInteraction && id == Asc.c_oAscAsyncAction.Open) {
Common.Gateway.internalMessage('documentReady', {});
Common.NotificationCenter.trigger('document:ready');
me.onDocumentContentReady();
}

View file

@ -88,6 +88,7 @@ define([
});
// this.bindViewEvents(this.statusbar, this.events);
Common.NotificationCenter.on('document:ready', this.onApiSheetsChanged.bind(this));
},
setApi: function(api) {