[DE] refactoring
This commit is contained in:
parent
acd5224632
commit
26da7307c6
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue