From 375c8e82dd0b17ce4f235984a351717c7e0b26b0 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 13 Apr 2011 21:54:59 +0000 Subject: [PATCH] Fix for previously confirmed messages showing again if you're still on the same page when a new notice comes --- notifications/js/notificationajaxpopup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/notifications/js/notificationajaxpopup.js b/notifications/js/notificationajaxpopup.js index b3b42c60f8..1aed64d140 100644 --- a/notifications/js/notificationajaxpopup.js +++ b/notifications/js/notificationajaxpopup.js @@ -80,6 +80,7 @@ function egwpopup_button_close() { for(var i = 0; i < notifymessages.length; i++) { xajax_doXMLHTTP("notifications.notifications_ajax.confirm_message", notifymessages[i]); } + notifymessages = new Array(); var egwpopup = document.getElementById("egwpopup"); var egwpopup_message = document.getElementById("egwpopup_message"); egwpopup.style.display = "none";