mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
do not popup the next notification message if the one is getting deleted hasn't being expanded while deleting
This commit is contained in:
parent
64a64ce71b
commit
7d6ae58e4f
@ -525,15 +525,15 @@
|
||||
request.sendRequest(true);
|
||||
var nextNode = egwpopup_message.next();
|
||||
delete (notifymessages[id]);
|
||||
if (nextNode.length > 0 && nextNode[0].id.match(/egwpopup_message_/ig) && egwpopup_message.hasClass('egwpopup_expanded'))
|
||||
{
|
||||
nextNode.trigger('click');
|
||||
}
|
||||
// try to close the dialog if expanded before hidding it
|
||||
this.collapseMessage(_node, _event);
|
||||
egwpopup_message.remove();
|
||||
this.bell("inactive");
|
||||
this.counterUpdate();
|
||||
if (nextNode.length > 0 && nextNode[0].id.match(/egwpopup_message_/ig))
|
||||
{
|
||||
nextNode.trigger('click');
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user