Fix Bug 43049
This commit is contained in:
parent
1cf3c9c060
commit
79a9e40d38
|
@ -122,6 +122,8 @@ define([
|
|||
if (msg && msg.Referer == "onlyoffice") {
|
||||
if ( !_.isEmpty(msg.error) ) {
|
||||
this.trigger('saveaserror', this, msg.error);
|
||||
} else if (!_.isEmpty(msg.message)) {
|
||||
Common.NotificationCenter.trigger('showmessage', {msg: msg.message});
|
||||
}
|
||||
// if ( !_.isEmpty(msg.folder) ) {
|
||||
// this.trigger('saveasfolder', this, msg.folder); // save last folder url
|
||||
|
|
|
@ -190,6 +190,7 @@ define([
|
|||
Common.NotificationCenter.on('api:disconnect', _.bind(this.onCoAuthoringDisconnect, this));
|
||||
Common.NotificationCenter.on('goback', _.bind(this.goBack, this));
|
||||
Common.NotificationCenter.on('download:advanced', _.bind(this.onAdvancedOptions, this));
|
||||
Common.NotificationCenter.on('showmessage', _.bind(this.onExternalMessage, this));
|
||||
|
||||
this.isShowOpenDialog = false;
|
||||
|
||||
|
|
|
@ -178,6 +178,7 @@ define([
|
|||
this.api.asc_registerCallback('asc_onSpellCheckInit', _.bind(this.loadLanguages, this));
|
||||
Common.NotificationCenter.on('api:disconnect', _.bind(this.onCoAuthoringDisconnect, this));
|
||||
Common.NotificationCenter.on('goback', _.bind(this.goBack, this));
|
||||
Common.NotificationCenter.on('showmessage', _.bind(this.onExternalMessage, this));
|
||||
|
||||
this.isShowOpenDialog = false;
|
||||
|
||||
|
|
|
@ -176,6 +176,7 @@ define([
|
|||
Common.NotificationCenter.on('namedrange:locked', _.bind(this.onNamedRangeLocked, this));
|
||||
Common.NotificationCenter.on('download:cancel', _.bind(this.onDownloadCancel, this));
|
||||
Common.NotificationCenter.on('download:advanced', _.bind(this.onAdvancedOptions, this));
|
||||
Common.NotificationCenter.on('showmessage', _.bind(this.onExternalMessage, this));
|
||||
|
||||
this.stackLongActions = new Common.IrregularStack({
|
||||
strongCompare : this._compareActionStrong,
|
||||
|
|
Loading…
Reference in a new issue