implemented deleting from server. multiple uploads by uploader handled and displayed on DOM

This commit is contained in:
Abhinav Adduri 2017-05-31 14:08:13 -07:00
parent c25c97fbaa
commit 895c4d364f
5 changed files with 118 additions and 27 deletions

View file

@ -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();