Fix Bug 35358.
This commit is contained in:
parent
543b4357b5
commit
02049ed668
|
@ -593,7 +593,7 @@ define([
|
||||||
this.setLongActionView(action)
|
this.setLongActionView(action)
|
||||||
} else {
|
} else {
|
||||||
var me = this;
|
var me = this;
|
||||||
if (id==Asc.c_oAscAsyncAction['Save'] || id==Asc.c_oAscAsyncAction['ForceSaveButton']) {
|
if ((id==Asc.c_oAscAsyncAction['Save'] || id==Asc.c_oAscAsyncAction['ForceSaveButton']) && !this.appOptions.isOffline) {
|
||||||
if (this._state.fastCoauth && this._state.usersCount>1) {
|
if (this._state.fastCoauth && this._state.usersCount>1) {
|
||||||
me._state.timerSave = setTimeout(function () {
|
me._state.timerSave = setTimeout(function () {
|
||||||
me.getApplication().getController('Statusbar').setStatusCaption(me.textChangesSaved, false, 3000);
|
me.getApplication().getController('Statusbar').setStatusCaption(me.textChangesSaved, false, 3000);
|
||||||
|
@ -631,8 +631,8 @@ define([
|
||||||
case Asc.c_oAscAsyncAction['ForceSaveButton']:
|
case Asc.c_oAscAsyncAction['ForceSaveButton']:
|
||||||
clearTimeout(this._state.timerSave);
|
clearTimeout(this._state.timerSave);
|
||||||
force = true;
|
force = true;
|
||||||
title = this.saveTitleText;
|
title = (!this.appOptions.isOffline) ? this.saveTitleText : '';
|
||||||
text = this.saveTextText;
|
text = (!this.appOptions.isOffline) ? this.saveTextText : '';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscAsyncAction['LoadDocumentFonts']:
|
case Asc.c_oAscAsyncAction['LoadDocumentFonts']:
|
||||||
|
|
|
@ -413,7 +413,7 @@ define([
|
||||||
if (action) {
|
if (action) {
|
||||||
this.setLongActionView(action)
|
this.setLongActionView(action)
|
||||||
} else {
|
} else {
|
||||||
if (id==Asc.c_oAscAsyncAction['Save'] || id==Asc.c_oAscAsyncAction['ForceSaveButton']) {
|
if ((id==Asc.c_oAscAsyncAction['Save'] || id==Asc.c_oAscAsyncAction['ForceSaveButton']) && !this.appOptions.isOffline) {
|
||||||
if (this._state.fastCoauth && this._state.usersCount>1) {
|
if (this._state.fastCoauth && this._state.usersCount>1) {
|
||||||
var me = this;
|
var me = this;
|
||||||
me._state.timerSave = setTimeout(function () {
|
me._state.timerSave = setTimeout(function () {
|
||||||
|
@ -451,8 +451,8 @@ define([
|
||||||
case Asc.c_oAscAsyncAction['ForceSaveButton']:
|
case Asc.c_oAscAsyncAction['ForceSaveButton']:
|
||||||
clearTimeout(this._state.timerSave);
|
clearTimeout(this._state.timerSave);
|
||||||
force = true;
|
force = true;
|
||||||
// title = this.saveTitleText;
|
// title = (!this.appOptions.isOffline) ? this.saveTitleText : '';
|
||||||
// text = this.saveTextText;
|
// text = (!this.appOptions.isOffline) ? this.saveTextText : '';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscAsyncAction['ForceSaveTimeout']:
|
case Asc.c_oAscAsyncAction['ForceSaveTimeout']:
|
||||||
|
|
Loading…
Reference in a new issue