mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
6a86c267f4
Replaces jQuery-based enable/disable logic in the webhooks admin form with a new Stimulus controller `disable-when-value-selected`. This change was originally deferred from PR #20884 as it was planned to be addressed in Work Package #69436 / PR #21227. Since that work has been put on hold and jQuery removal is progressing, this commit completes the migration now. Changes: - Add DisableWhenValueSelectedController for declarative form toggling - Add toggleEnabled/enableElement/disableElement helpers to dom-helpers - Remove jQuery code from webhooks admin form - Apply Stimulus controller to project selection fieldset Related to opf/openproject#20884 https://community.openproject.org/wp/68734