implemented deleting from server. multiple uploads by uploader handled and displayed on DOM
This commit is contained in:
parent
c25c97fbaa
commit
895c4d364f
5 changed files with 118 additions and 27 deletions
|
@ -50,7 +50,7 @@ function download() {
|
|||
a.click();
|
||||
})
|
||||
.catch(function(err){
|
||||
alert("This link is either invalid or has expired.");
|
||||
alert("This link is either invalid or has expired, or the uploader has deleted the file.");
|
||||
console.error(err);
|
||||
});
|
||||
})
|
||||
|
@ -60,7 +60,7 @@ function download() {
|
|||
};
|
||||
fileReader.readAsArrayBuffer(blob);
|
||||
} else {
|
||||
alert("Unable to download excel.")
|
||||
alert("This link is either invalid or has expired, or the uploader has deleted the file.")
|
||||
}
|
||||
};
|
||||
xhr.send();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue