Files
piratepoet/tests/javascript
John Oleksowicz 5cd0294816 Fix slide-in animation value displayed in editor
This fixes a bug where the animation setting ("Show animation on
display") was not being displayed properly for previously-saved slide-in
 forms immediately after loading the form in the editor.

The value was coming through as either 'right' or 'left' because the
`position` value was being referenced instead of `animation`.

Because 'right' and 'left' don't correspond to a slide-in animation
value, it always looked like the "Show animation on display" setting was
 "No Animation" even if a different value was saved in the database.

This bug only affected the editor and only affected the display of the
value, not the ability to save a setting (the `animation` property was
always correctly referenced in map_form_data_before_saving.jsx)

MAILPOET-3263
2021-12-16 14:49:35 +01:00
..