Skip to content
Snippets Groups Projects
Commit 13a22cd4 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

trigger change on other helper attributes, fixes #4762

Closes #4762

Merge request studip/studip!3551
parent 0bb23f9d
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment