aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
}