mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge pull request #6423 from marc1706/ticket/13291
[ticket/13291] Close notifications dropdown during mark all read
This commit is contained in:
commit
369ee44b6f
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ phpbb.addAjaxCallback('mark_topics_read', function(res, updateTopicLinks) {
|
||||||
phpbb.addAjaxCallback('notification.mark_all_read', function(res) {
|
phpbb.addAjaxCallback('notification.mark_all_read', function(res) {
|
||||||
if (typeof res.success !== 'undefined') {
|
if (typeof res.success !== 'undefined') {
|
||||||
phpbb.markNotifications($('#notification_list li.bg2'), 0);
|
phpbb.markNotifications($('#notification_list li.bg2'), 0);
|
||||||
|
phpbb.toggleDropdown.call($('#notification_list_button'));
|
||||||
phpbb.closeDarkenWrapper(3000);
|
phpbb.closeDarkenWrapper(3000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue