[DE] refactoring
This commit is contained in:
parent
acd5224632
commit
26da7307c6
|
@ -1051,7 +1051,7 @@ define([
|
||||||
Common.NotificationCenter.trigger('app:face', this.appOptions);
|
Common.NotificationCenter.trigger('app:face', this.appOptions);
|
||||||
|
|
||||||
this.hidePreloader();
|
this.hidePreloader();
|
||||||
this.onLongActionBegin(Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument);
|
this.onLongActionBegin(Asc.c_oAscAsyncActionType.BlockInteraction, LoadingDocument);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.api.asc_setViewMode(!this.appOptions.isEdit);
|
this.api.asc_setViewMode(!this.appOptions.isEdit);
|
||||||
|
|
|
@ -136,9 +136,8 @@ define([
|
||||||
|
|
||||||
me._rightMenu = rightMenuView.render(this.mode);
|
me._rightMenu = rightMenuView.render(this.mode);
|
||||||
|
|
||||||
var value = Common.localStorage.getItem('de-hidden-status');
|
if ( Common.localStorage.getBool('de-hidden-status') )
|
||||||
if (value !== null && parseInt(value) == 1)
|
DE.getController('Statusbar').getView('Statusbar').setVisible(false);
|
||||||
statusBarView.setVisible(false);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
setMode: function(mode) {
|
setMode: function(mode) {
|
||||||
|
|
Loading…
Reference in a new issue