From 0ced8a0c39fad4968fa92124133cd6cd59f1050e Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 20 Apr 2022 17:49:38 +0300 Subject: [PATCH] [PE] For Bug 55541: hide preview option --- .../main/app/view/AnimationDialog.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/presentationeditor/main/app/view/AnimationDialog.js b/apps/presentationeditor/main/app/view/AnimationDialog.js index d8f051f78..852c1b5b6 100644 --- a/apps/presentationeditor/main/app/view/AnimationDialog.js +++ b/apps/presentationeditor/main/app/view/AnimationDialog.js @@ -44,7 +44,7 @@ define([ PE.Views.AnimationDialog = Common.UI.Window.extend(_.extend({ options: { width: 350, - height: 426, + height: 396, header: true, cls: 'animation-dlg', buttons: ['ok', 'cancel'] @@ -57,8 +57,8 @@ define([ '
', '
', '
', - '
', - '
', + '
', + // '
', '
' ].join(''); this.allEffects = Common.define.effectData.getEffectFullData(); @@ -125,11 +125,11 @@ define([ }); this.lstEffectList.on('item:select', _.bind(this.onEffectListItem,this)); - this.chPreview = new Common.UI.CheckBox({ - el : $('#animation-setpreview'), - labelText : this.textPreviewEffect, - value: !Common.Utils.InternalSettings.get("pe-animation-no-preview") - }).on('change', _.bind(this.onPreviewChange, this)); + // this.chPreview = new Common.UI.CheckBox({ + // el : $('#animation-setpreview'), + // labelText : this.textPreviewEffect, + // value: !Common.Utils.InternalSettings.get("pe-animation-no-preview") + // }).on('change', _.bind(this.onPreviewChange, this)); this.cmbGroup.setValue(this._state.activeGroupValue); this.fillLevel(); @@ -138,7 +138,7 @@ define([ }, getFocusedComponents: function() { - return [ this.cmbGroup, this.cmbLevel, this.lstEffectList, this.chPreview]; + return [ this.cmbGroup, this.cmbLevel, this.lstEffectList/*, this.chPreview*/]; }, getDefaultFocusableComponent: function () {