Fix bug for desktop
This commit is contained in:
parent
fdff13a7f0
commit
614109a26f
|
@ -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});
|
||||
|
|
|
@ -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});
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue