mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 22:22:33 -06:00
WebUI: Fix WebAPI returned data.
This commit is contained in:
@@ -9,10 +9,15 @@
|
||||
|
||||
function stateChangeHandler() {
|
||||
if (this.readyState == this.DONE) {
|
||||
if (this.status == 200)
|
||||
if (this.status == 200) {
|
||||
window.parent.closeWindows();
|
||||
else
|
||||
alert("Upload Failed!");
|
||||
} else {
|
||||
if (this.responseText != "") {
|
||||
alert(this.responseText);
|
||||
} else {
|
||||
alert("_(Upload Failed!)");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user