diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-12-04 08:37:14 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-12-04 08:37:14 +0000 |
| commit | 13a22cd46b32015d5cf26ae87f0e7c61fdfba3b3 (patch) | |
| tree | 92685076314601609131121d680f1e91a594a93a /resources/assets/javascripts/bootstrap | |
| parent | 0bb23f9dae4bfdfd4619e73c3bab51cc84e8ebee (diff) | |
trigger change on other helper attributes, fixes #4762
Closes #4762
Merge request studip/studip!3551
Diffstat (limited to 'resources/assets/javascripts/bootstrap')
| -rw-r--r-- | resources/assets/javascripts/bootstrap/studip_helper_attributes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/assets/javascripts/bootstrap/studip_helper_attributes.js b/resources/assets/javascripts/bootstrap/studip_helper_attributes.js index 6566a3d..26cdd9c 100644 --- a/resources/assets/javascripts/bootstrap/studip_helper_attributes.js +++ b/resources/assets/javascripts/bootstrap/studip_helper_attributes.js @@ -46,7 +46,7 @@ $(document).on('change', proxy_elements_selector, function (event, force) { const event = new Event('change'); element.dispatchEvent(event); - if (element.matches('[data-proxyfor]')) { + if (element.matches('[data-proxyfor],[data-activates],[data-deactivates],[data-hides],[data-shows]')) { $(element).trigger('change', [true]); } }); |
