From 7cfc14fef755f5d5327f936c042be1b68aef5eaa Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 22 Sep 2022 12:50:11 +0000 Subject: emit a notice if an item was deleted - issue #1691 --- view/js/main.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/js') diff --git a/view/js/main.js b/view/js/main.js index b4b440a27..d3eca2681 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1284,6 +1284,8 @@ function dropItem(url, object, b64mid) { $(object + ', #pinned-wrapper-' + id).remove(); $('body').css('cursor', 'auto'); + $.jGrowl(aStr.itemdel, { sticky: false, theme: 'notice', life: 3000 }); + if (typeof b64mid !== typeof undefined) { $('[data-b64mid=\'' + b64mid + '\']').fadeOut(function() { this.remove(); -- cgit v1.2.3