From: Damyan Ivanov Date: Fri, 4 Mar 2022 20:51:48 +0000 (+0000) Subject: TODO: undo list deletion X-Git-Url: https://git.ktnx.net/?p=lsl.git;a=commitdiff_plain;h=e199c9073972c4fc2881236bd3ef70b1fd0ea101 TODO: undo list deletion --- 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' }