attachment upload and download now works for browser

This commit is contained in:
azivner
2018-02-18 21:28:24 -05:00
parent fda4146150
commit 78e8c15786
10 changed files with 98 additions and 19 deletions

View File

@@ -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) {