aboutsummaryrefslogtreecommitdiffstats
path: root/loggedin.js
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 21:00:09 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 21:00:09 +0200
commit15fea9f2830f8c418202e3ed7d88b66093977c89 (patch)
tree99fda70f2ec6a13df4f71dc412921a851b7bc6f4 /loggedin.js
parent97e8088dbc74d958e7f427abf24a84d5938b42c1 (diff)
downloadfileup-15fea9f2830f8c418202e3ed7d88b66093977c89.tar.gz
some bad function calls fixed
Diffstat (limited to 'loggedin.js')
-rw-r--r--loggedin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/loggedin.js b/loggedin.js
index b6f286a..62bd536 100644
--- a/loggedin.js
+++ b/loggedin.js
@@ -216,9 +216,9 @@ function add_file_visuals(fileview) {
alert('not implemented');
}
}],
- ['Rename', () => { rename_file(name); }],
+ ['Rename', () => { rename_file(fileview.filename); }],
['Share', () => {alert('not implemented')}],
- ['Delete', () => { delete_file(name); }],
+ ['Delete', () => { delete_file(fileview.filename); }],
]);
e.preventDefault();
}