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 09:48:13 +0100 |
| commit | c93229dade9d9a34c56a4e7801ee67b1c089071e (patch) | |
| tree | f4c6f2bafeeeaa2303ec0650fbc0fc6ddb223021 /resources | |
| parent | 9d8825d2d639575ab39b08f148ee1b9d00edea08 (diff) | |
trigger change on other helper attributes, fixes #4762
Closes #4762
Merge request studip/studip!3551
Diffstat (limited to 'resources')
| -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 3e927ec..7fa49d1 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]); } }); |
