mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +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);
|
request.sendRequest(true);
|
||||||
var nextNode = egwpopup_message.next();
|
var nextNode = egwpopup_message.next();
|
||||||
delete (notifymessages[id]);
|
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
|
// try to close the dialog if expanded before hidding it
|
||||||
this.collapseMessage(_node, _event);
|
this.collapseMessage(_node, _event);
|
||||||
egwpopup_message.remove();
|
egwpopup_message.remove();
|
||||||
this.bell("inactive");
|
this.bell("inactive");
|
||||||
this.counterUpdate();
|
this.counterUpdate();
|
||||||
if (nextNode.length > 0 && nextNode[0].id.match(/egwpopup_message_/ig))
|
|
||||||
{
|
|
||||||
nextNode.trigger('click');
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user