From c02321368aee8c8ca4d790d935f2471b99951106 Mon Sep 17 00:00:00 2001 From: Gregoo Date: Fri, 31 Jan 2025 16:38:06 +0100 Subject: [PATCH] Disable no confirm checkbox when toggling the form --- static/scripts/socket/set.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/scripts/socket/set.js b/static/scripts/socket/set.js index 6459aa6..01c5106 100644 --- a/static/scripts/socket/set.js +++ b/static/scripts/socket/set.js @@ -259,6 +259,10 @@ class BrickSetSocket extends BrickSocket { this.html_input.disabled = !enabled; } + if (this.html_no_confim) { + this.html_no_confim.disabled = !enabled; + } + if (this.html_owners) { this.html_owners.querySelectorAll('input').forEach(input => input.disabled = !enabled); }