mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
import notes from tar archive, closes #63
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user