[all] added flag to use RTL in code
This commit is contained in:
parent
684a9668bf
commit
7146701873
|
@ -416,6 +416,7 @@ define([
|
|||
this.appOptions.canFeatureComparison = true;
|
||||
this.appOptions.canFeatureContentControl = true;
|
||||
this.appOptions.canFeatureForms = !!this.api.asc_isSupportFeature("forms");
|
||||
this.appOptions.uiRtl = Common.localStorage.getBool("ui-rtl");
|
||||
|
||||
this.appOptions.mentionShare = !((typeof (this.appOptions.customization) == 'object') && (this.appOptions.customization.mentionShare==false));
|
||||
|
||||
|
|
|
@ -369,6 +369,7 @@ define([
|
|||
this.appOptions.compatibleFeatures = (typeof (this.appOptions.customization) == 'object') && !!this.appOptions.customization.compatibleFeatures;
|
||||
this.appOptions.canRequestSharingSettings = this.editorConfig.canRequestSharingSettings;
|
||||
this.appOptions.mentionShare = !((typeof (this.appOptions.customization) == 'object') && (this.appOptions.customization.mentionShare==false));
|
||||
this.appOptions.uiRtl = Common.localStorage.getBool("ui-rtl");
|
||||
|
||||
this.appOptions.user.guest && this.appOptions.canRenameAnonymous && Common.NotificationCenter.on('user:rename', _.bind(this.showRenameUserDialog, this));
|
||||
|
||||
|
|
|
@ -415,6 +415,7 @@ define([
|
|||
this.appOptions.canMakeActionLink = this.editorConfig.canMakeActionLink;
|
||||
this.appOptions.canFeaturePivot = true;
|
||||
this.appOptions.canFeatureViews = true;
|
||||
this.appOptions.uiRtl = Common.localStorage.getBool("ui-rtl");
|
||||
|
||||
if (this.appOptions.user.guest && this.appOptions.canRenameAnonymous && !this.appOptions.isEditDiagram && !this.appOptions.isEditMailMerge && !this.appOptions.isEditOle)
|
||||
Common.NotificationCenter.on('user:rename', _.bind(this.showRenameUserDialog, this));
|
||||
|
|
Loading…
Reference in a new issue