Review main Merged

63730[BUGFIX] Fix some dirty field checks in FormEngine

Christian Eßl CR +2 V +2 Easy +13 −3 updated 03/17/20, 20:09

Commit message

In some cases, the "dirty" field checks were still not working for both
ckeditor and flexform fields. The following changes were made:

- Flexform elements can use dots for html id attributes, which are not
officially supported by the W3C CSS specification. So escape the
corresponding element selectors to work with the validation.
- When maximizing an RTE, ckeditor4 automatically removes all the
classes from the connected html elements (and reapplies them once leaving
the fullscreen mode), so the markFieldAsChanged() validation won't work
here. In this case, apply an event for remembering the changes, once the
user leaves fullscreen again.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 1