aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-09-22 12:50:11 +0000
committerMario <mario@mariovavti.com>2022-09-22 12:50:11 +0000
commit7cfc14fef755f5d5327f936c042be1b68aef5eaa (patch)
treed65373ea75a0e28492a26bb2a87848b71c8953a4 /view/js/main.js
parentf220cf3173118da3ed02e5c7e2f9d36069ba644a (diff)
downloadvolse-hubzilla-7cfc14fef755f5d5327f936c042be1b68aef5eaa.tar.gz
volse-hubzilla-7cfc14fef755f5d5327f936c042be1b68aef5eaa.tar.bz2
volse-hubzilla-7cfc14fef755f5d5327f936c042be1b68aef5eaa.zip
emit a notice if an item was deleted - issue #1691
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js2
1 files changed, 2 insertions, 0 deletions
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();