summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-11-10 03:21:36 +0300
committerDevaev Maxim <[email protected]>2019-11-10 03:21:36 +0300
commit13079665319ea1042770cd2bad7e6fcf511287e3 (patch)
treeabb1908c230db3a9fcb448d92b6f652d7d7483b7 /web
parentbf0da305c7665a2dfc3803decfa411f26faab386 (diff)
lock image selector on change
Diffstat (limited to 'web')
-rw-r--r--web/share/js/kvm/msd.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/share/js/kvm/msd.js b/web/share/js/kvm/msd.js
index db2603cb..b64007b4 100644
--- a/web/share/js/kvm/msd.js
+++ b/web/share/js/kvm/msd.js
@@ -64,6 +64,7 @@ export function Msd() {
};
var __selectImage = function() {
+ wm.switchEnabled($("msd-image-selector"), false);
wm.switchEnabled($("msd-remove-image"), false);
__sendParam("image", $("msd-image-selector").value);
};