import notes from tar archive, closes #63

This commit is contained in:
azivner
2018-02-26 00:07:43 -05:00
parent 60bba46d80
commit 1501fa8dbf
9 changed files with 175 additions and 117 deletions

View File

@@ -226,10 +226,10 @@ if (isElectron()) {
}
function uploadAttachment() {
$("#file-upload").trigger('click');
$("#attachment-upload").trigger('click');
}
$("#file-upload").change(async function() {
$("#attachment-upload").change(async function() {
const formData = new FormData();
formData.append('upload', this.files[0]);