summaryrefslogtreecommitdiff
path: root/web/js/kvm/atx.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js/kvm/atx.js')
-rw-r--r--web/js/kvm/atx.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/js/kvm/atx.js b/web/js/kvm/atx.js
index d637c742..9ef0c063 100644
--- a/web/js/kvm/atx.js
+++ b/web/js/kvm/atx.js
@@ -18,9 +18,9 @@ function Atx() {
$("atx-power-led").className = (state.leds.power ? "led-green" : "led-gray");
$("atx-hdd-led").className = (state.leds.hdd ? "led-red" : "led-gray");
- $("atx-power-button").disabled = state.busy;
- $("atx-power-button-long").disabled = state.busy;
- $("atx-reset-button").disabled = state.busy;
+ ui.switchDisabled($("atx-power-button"), state.busy);
+ ui.switchDisabled($("atx-power-button-long"), state.busy);
+ ui.switchDisabled($("atx-reset-button"), state.busy);
};
self.clearState = function() {