aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-12-04 08:37:14 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-12-04 09:48:07 +0100
commit498c43035767179f2dd9a9dac68e2b1784a3e428 (patch)
tree99c72137b19c5cd11e325ea230c4e343837a68c2 /resources
parentda518f7e8a83ce417712a7b1b48304d56ab6ec6c (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.js2
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]);
}
});