From e199c9073972c4fc2881236bd3ef70b1fd0ea101 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 4 Mar 2022 20:51:48 +0000 Subject: [PATCH] TODO: undo list deletion --- public/javascripts/lsl.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/javascripts/lsl.js b/public/javascripts/lsl.js index de4104e..3e5c672 100644 --- a/public/javascripts/lsl.js +++ b/public/javascripts/lsl.js @@ -124,6 +124,8 @@ function edit_list(li) { }); } function delete_list(li, dlg) { + // TODO: fetch all list items and store all data in a "Deleted" + // pop-up with an "Undo" link that can be used to restore the list var lists_ver = lists_version; $.ajax( li.data('lsl-uri'), { type: 'DELETE' } -- 2.39.2