ORIENT/modules/backend
Luke Towers 0cdda52eb8 Fix bug where a field with `@context` in the name would completely break forms if it also depended on other fields.
The bug occurred because if specific fields aren't detected in onRefresh(), the entire Form widget HTML will be returned as the result instead of specific fields. This created a problem because the october.form.js JS is not setup to gracefully handle having the entire root form DOM node completely replaced in the middle of a request being completed. Specifically, this would cause problems when trying to detect empty tabs, and then the problems would cascade from there as there would be an instance of october.form.js attached to the page with broken references to no-longer existing DOM nodes.

This fix solves the immediate issue of `field@context` using the `dependsOn` feature breaking by ensuring that the actual final field name for a given field is used instead of the name used in the configuration of the field. Future work should probably be done to better support an entire form being re-rendered if no fields are detected in onRefresh however.
2020-06-17 03:05:40 -06:00
..
assets Update combined jquery file to 3.4.0, added fix for #5097 2020-05-31 02:32:58 -06:00
behaviors Also remove custom sorts from relationcontroller lists / pivot manage modes. 2020-06-14 14:29:21 -06:00
classes Validate backend forms client-side (#4804) 2020-04-09 14:24:51 -06:00
controllers Add missing import (#5101) 2020-06-01 10:42:15 -06:00
database Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
facades Code dusting (#2826) 2017-04-24 21:38:19 +10:00
formwidgets Fix Froala strip empty tags issue (#5126) 2020-06-16 14:59:40 +08:00
helpers Support nested asset files and files under a symlinked directory when decompiling backend assets 2020-06-05 15:51:12 -06:00
lang Updated Polish translation (#5129) 2020-06-17 16:10:37 +08:00
layouts Use IE11-compatible code for worker deregistration. (#5079) 2020-05-19 18:59:03 +08:00
models Fix Froala strip empty tags issue (#5126) 2020-06-16 14:59:40 +08:00
reportwidgets Hide link to "Access Logs" when the user doesn't have access (#4462) 2019-07-19 09:53:02 -06:00
skins {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
traits Improve error handling for UploadableWidgets 2020-06-05 15:52:27 -06:00
views Prevent subject and password from being HTML encoded in the invite email (#4301) 2019-04-30 09:13:55 -06:00
widgets Fix bug where a field with `@context` in the name would completely break forms if it also depended on other fields. 2020-06-17 03:05:40 -06:00
ServiceProvider.php Add new backend.allow_unsafe_markdown permission 2020-05-25 18:02:20 -06:00
composer.json Updating links in composer files 2018-04-16 02:33:08 -06:00
routes.php Add missing documentation comment blocks for fired events (#4788) 2019-11-24 23:59:00 -06:00