Fix loading when get error Asc.c_oAscError.ID.EditingError

This commit is contained in:
Julia Radzhabova 2018-11-28 13:17:12 +03:00
parent 565c9d7aa7
commit 9a2f624205
3 changed files with 12 additions and 6 deletions

View file

@ -277,8 +277,10 @@ define([
this.$el.find('#fm-btn-back').hide().prev().hide();
this.panels['opts'].setMode(this.mode);
this.panels['info'].setMode(this.mode).updateInfo(this.document);
this.panels['rights'].setMode(this.mode).updateInfo(this.document);
this.panels['info'].setMode(this.mode);
!this.mode.isDisconnected && this.panels['info'].updateInfo(this.document);
this.panels['rights'].setMode(this.mode);
!this.mode.isDisconnected && this.panels['rights'].updateInfo(this.document);
if ( this.mode.canCreateNew ) {
if (this.mode.templates && this.mode.templates.length) {

View file

@ -274,8 +274,10 @@ define([
this.miHelp.$el.prev()[this.mode.canHelp ?'show':'hide']();
this.panels['opts'].setMode(this.mode);
this.panels['info'].setMode(this.mode).updateInfo(this.document);
this.panels['rights'].setMode(this.mode).updateInfo(this.document);
this.panels['info'].setMode(this.mode);
!this.mode.isDisconnected && this.panels['info'].updateInfo(this.document);
this.panels['rights'].setMode(this.mode);
!this.mode.isDisconnected && this.panels['rights'].updateInfo(this.document);
if ( this.mode.canCreateNew ) {
if (this.mode.templates && this.mode.templates.length) {

View file

@ -265,8 +265,10 @@ define([
this.miHelp.$el.prev()[this.mode.canHelp ?'show':'hide']();
this.panels['opts'].setMode(this.mode);
this.panels['info'].setMode(this.mode).updateInfo(this.document);
this.panels['rights'].setMode(this.mode).updateInfo(this.document);
this.panels['info'].setMode(this.mode);
!this.mode.isDisconnected && this.panels['info'].updateInfo(this.document);
this.panels['rights'].setMode(this.mode);
!this.mode.isDisconnected && this.panels['rights'].updateInfo(this.document);
if ( this.mode.canCreateNew ) {
if (this.mode.templates && this.mode.templates.length) {