mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
attachment upload and download now works for browser
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
$date.datepicker('setDate', new Date());
|
||||
|
||||
async function saveWeight() {
|
||||
await server.exec([$date.val(), $weight.val(), $comment.val()], async (date, weight, comment) => {
|
||||
await server.exec([$date.val(), parseFloat($weight.val()), $comment.val()], async (date, weight, comment) => {
|
||||
const dataNote = await this.getNoteWithAttribute('date_data', date);
|
||||
|
||||
if (dataNote) {
|
||||
|
||||
Reference in New Issue
Block a user