ORIENT/modules
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
..
backend 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
cms Support new onUpload() AJAX handler for uploads instead of postback takeovers. 2020-06-05 16:01:22 -06:00
system Allow plugin autoloaders to load on restricted pages and actions (#5120) 2020-06-09 21:46:17 -06:00