diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/share/js/kvm/msd.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/msd.js b/web/share/js/kvm/msd.js index 1804e6b9..0aa6721d 100644 --- a/web/share/js/kvm/msd.js +++ b/web/share/js/kvm/msd.js @@ -115,10 +115,10 @@ export function Msd() { let file = tools.input.getFile($("msd-new-file")); __http = new XMLHttpRequest(); if (file) { - __http.open("POST", `/api/msd/write?image=${encodeURIComponent(file.name)}`, true); + __http.open("POST", `/api/msd/write?image=${encodeURIComponent(file.name)}&remove_incomplete=1`, true); } else { let url = $("msd-new-url").value; - __http.open("POST", `/api/msd/write_remote?url=${encodeURIComponent(url)}`, true); + __http.open("POST", `/api/msd/write_remote?url=${encodeURIComponent(url)}&remove_incomplete=1`, true); } __http.upload.timeout = 7 * 24 * 3600; __http.onreadystatechange = __httpStateChange; |