diff --git a/notifications/js/notificationajaxpopup.js b/notifications/js/notificationajaxpopup.js index c0084127a9..1275dfd200 100644 --- a/notifications/js/notificationajaxpopup.js +++ b/notifications/js/notificationajaxpopup.js @@ -382,7 +382,7 @@ notifications.prototype.delete_all = function () { if (!notifymessages || Object.entries(notifymessages).length == 0) return false; egw.json("notifications.notifications_ajax.delete_message", [Object.keys(notifymessages)]).sendRequest(true); - delete(notifymessages); + notifymessages = {}; jQuery("#egwpopup_list").empty(); this.counterUpdate(); };