Files
objecttothis 73ae557688 fix(items): move plugin fields, sync plugin_data on change
- Move item_form_plugin_fields render point in form.php from top of
  fieldset to bottom, near closing form_close(), so plugin fields
  render after core item fields.
- Rework plugin_data_helper.js to sync plugin_data hidden field on
  every change/click of a [data-plugin-field] element, not just on
  form submit. Needed because some forms use jQuery Validate's
  submitHandler, which bypasses native submit event and would leave
  plugin_data stale.
- Refactor sync logic into reusable syncPluginData() helper invoked
  on initial load, on field change/click, and on submit.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-09-03 14:36:31 +04:00
..