aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js')
-rw-r--r--web_src/js/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 1683210107..7f3874b857 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -1043,6 +1043,11 @@ function initRepository() {
$($(this).data('target')).addClass('disabled');
}
});
+ $('.disable-whitelist').change(function () {
+ if (this.checked) {
+ $($(this).data('target')).addClass('disabled');
+ }
+ });
}
}