From 39a36d0b76460417b987c400d518601e7f6565d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Poujade?= <lois.poujade@tetras-libre.fr> Date: Tue, 14 Jun 2022 11:11:11 +0200 Subject: [PATCH] Fix annotation deletion Closes #12 --- capsule-prototype/js/PopupPanelWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capsule-prototype/js/PopupPanelWidget.js b/capsule-prototype/js/PopupPanelWidget.js index cd588f0..ec9040b 100644 --- a/capsule-prototype/js/PopupPanelWidget.js +++ b/capsule-prototype/js/PopupPanelWidget.js @@ -925,7 +925,7 @@ PopupPanelWidget.prototype.createPopupContent = function (tag) { } deleteElement .click(function () { - window.app.rekall.Rekall('pubSub').publish('', { + window.app.rekall.Rekall('pubSub').publish('alert', { message: "Do you really want to delete this file from the project ?", buttons: "yesnodelete" }); -- GitLab