Fix bug for desktop

This commit is contained in:
Julia Radzhabova 2019-09-18 10:32:29 +03:00
parent fdff13a7f0
commit 614109a26f
3 changed files with 3 additions and 3 deletions

View file

@ -692,7 +692,7 @@ define([
var action = {id: id, type: type};
this.stackLongActions.pop(action);
appHeader.setDocumentCaption(this.api.asc_getDocumentName());
appHeader && appHeader.setDocumentCaption(this.api.asc_getDocumentName());
this.updateWindowTitle(true);
action = this.stackLongActions.get({type: Asc.c_oAscAsyncActionType.Information});

View file

@ -475,7 +475,7 @@ define([
var action = {id: id, type: type};
this.stackLongActions.pop(action);
appHeader.setDocumentCaption(this.api.asc_getDocumentName());
appHeader && appHeader.setDocumentCaption(this.api.asc_getDocumentName());
this.updateWindowTitle(true);
action = this.stackLongActions.get({type: Asc.c_oAscAsyncActionType.Information});

View file

@ -509,7 +509,7 @@ define([
var action = {id: id, type: type};
this.stackLongActions.pop(action);
this.headerView.setDocumentCaption(this.api.asc_getDocumentName());
this.headerView && this.headerView.setDocumentCaption(this.api.asc_getDocumentName());
this.updateWindowTitle(this.api.asc_isDocumentModified(), true);
if (type === Asc.c_oAscAsyncActionType.BlockInteraction && id == Asc.c_oAscAsyncAction.Open) {