Fixing conflict merge.
This commit is contained in:
parent
22be8e2e9d
commit
1101299168
@ -369,7 +369,7 @@ ${i+1}:
|
||||
}
|
||||
function uploadFile(name) {
|
||||
var req = new XMLHttpRequest();
|
||||
req.addEventListener('load', function(){showToast(this.responseText)});
|
||||
req.addEventListener('load', function(){showToast(this.responseText,this.status >= 400)});
|
||||
req.addEventListener('error', function(e){showToast(e.stack,true);});
|
||||
req.open("POST", "/upload");
|
||||
var formData = new FormData();
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user