From 15fea9f2830f8c418202e3ed7d88b66093977c89 Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Fri, 12 Feb 2021 21:00:09 +0200 Subject: some bad function calls fixed --- loggedin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loggedin.js') 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(); } -- cgit v1.2.3