From 8dadc7e51880fbef15792e9a6101a770acf3a933 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 1 Sep 2019 20:57:25 +0200 Subject: [PATCH] allow deleting notes including all the clones, closes #629 --- src/public/javascripts/services/branches.js | 35 +++++++++++++++++---- src/routes/api/branches.js | 2 +- src/routes/api/notes.js | 2 +- src/services/cloning.js | 2 +- src/services/notes.js | 6 ++-- 5 files changed, 35 insertions(+), 12 deletions(-) diff --git a/src/public/javascripts/services/branches.js b/src/public/javascripts/services/branches.js index d69dd6692..2de264d3a 100644 --- a/src/public/javascripts/services/branches.js +++ b/src/public/javascripts/services/branches.js @@ -86,21 +86,44 @@ async function deleteNodes(nodes) { return false; } - const nodeTitles = $("