aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resources/assets/javascripts/bootstrap/studip_helper_attributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/assets/javascripts/bootstrap/studip_helper_attributes.js b/resources/assets/javascripts/bootstrap/studip_helper_attributes.js
index 9f24530..6566a3d 100644
--- a/resources/assets/javascripts/bootstrap/studip_helper_attributes.js
+++ b/resources/assets/javascripts/bootstrap/studip_helper_attributes.js
@@ -45,6 +45,10 @@ $(document).on('change', proxy_elements_selector, function (event, force) {
const event = new Event('change');
element.dispatchEvent(event);
+
+ if (element.matches('[data-proxyfor]')) {
+ $(element).trigger('change', [true]);
+ }
});
}
}).on('update.proxy', proxy_elements_selector, function () {