Merge pull request #1623 from ONLYOFFICE/fix/bugfix

[PE] Fix Bug 55981
This commit is contained in:
Julia Radzhabova 2022-03-10 20:27:07 +03:00 committed by GitHub
commit 35ff3ec0eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,8 @@ define([
me.fireEvent('animation:selecteffect', [combo, record]);
}, me));
me.listEffectsMore.on('click', _.bind(function () {
me.fireEvent('animation:additional', [me.listEffects.menuPicker.getSelectedRec().get('value') != AscFormat.ANIM_PRESET_NONE]); // replace effect
var rec = me.listEffects.menuPicker.getSelectedRec();
me.fireEvent('animation:additional', [!(rec && rec.get('value') === AscFormat.ANIM_PRESET_NONE)]); // replace effect
}, me));
}