ORIENT/modules/backend/widgets
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
..
filter/partials Render the css classes on the filter widget (#5067) 2020-05-26 15:25:06 -06:00
form Add support for linkable form tabs (#4754) 2020-04-04 21:56:48 -06:00
lists Prevent browser caching of list checkboxes (#4949) 2020-03-31 02:31:16 -06:00
mediamanager Improve error handling when uploading a file that exceeds the server's post_max_size 2020-06-05 15:56:15 -06:00
reportcontainer Replace use of parseJSON with JSON.parse (#4517) 2019-09-14 06:25:18 -06:00
search/partials Fix issue where the clear search button would submit a form if the search widget is within an HTML form 2018-12-28 11:51:51 -06:00
table Auto-detect correct postback handler for datatable widget. (#4967) 2020-03-05 16:37:16 +08:00
toolbar/partials Decouple the toolbar from the layout system 2015-08-26 20:24:37 +10:00
Filter.php Add option to ignore timestamps for date range filters (#4966) 2020-04-04 22:12:32 -06:00
Form.php 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
Lists.php Allow translations of default column values (#5038) 2020-04-12 11:17:45 -06:00
MediaManager.php Support decompiling mediamanager assets 2020-06-05 15:52:59 -06:00
ReportContainer.php Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
Search.php Don't persist failed search terms (#5039) 2020-04-27 01:55:40 -06:00
Table.php Auto-detect correct postback handler for datatable widget. (#4967) 2020-03-05 16:37:16 +08:00
Toolbar.php Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00