[DE] refactoring

This commit is contained in:
Maxim Kadushkin 2017-04-10 16:41:07 +03:00
parent acd5224632
commit 26da7307c6
2 changed files with 3 additions and 4 deletions

View file

@ -1051,7 +1051,7 @@ define([
Common.NotificationCenter.trigger('app:face', this.appOptions);
this.hidePreloader();
this.onLongActionBegin(Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument);
this.onLongActionBegin(Asc.c_oAscAsyncActionType.BlockInteraction, LoadingDocument);
}
this.api.asc_setViewMode(!this.appOptions.isEdit);

View file

@ -136,9 +136,8 @@ define([
me._rightMenu = rightMenuView.render(this.mode);
var value = Common.localStorage.getItem('de-hidden-status');
if (value !== null && parseInt(value) == 1)
statusBarView.setVisible(false);
if ( Common.localStorage.getBool('de-hidden-status') )
DE.getController('Statusbar').getView('Statusbar').setVisible(false);
},
setMode: function(mode) {