Fix for previously confirmed messages showing again if you're still on the same page when a new notice comes

This commit is contained in:
Nathan Gray 2011-04-13 21:54:59 +00:00
parent 16cd36c017
commit 375c8e82dd

View File

@ -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";