That's a common issue.
It's not really an issue though, did some research and apparently it used to be that Alerts would clear when you viewed them, but people complained to the guy that made the addon so he changed it. Seems backwards to me. Hopefully in a future update, you can choose one way or the other.
It's not really an issue though, did some research and apparently it used to be that Alerts would clear when you viewed them, but people complained to the guy that made the addon so he changed it. Seems backwards to me. Hopefully in a future update, you can choose one way or the other.
Quote:That is the way that it previously behaved, but I got an overwhelming number of complaints about it from people saying that's not what they wanted, so I implemented the current approach. Unfortunately it's difficult to please everybody so I tend to play towards the loudest crowd 😉
Marking them read via AJAX is probably the best way. The old system would mark them as read when the initial AJAX request to get the modal was fired (marking them as read within
alerts.php
). You'll probably want to clear the actual counter on the page too, though it might not be 0 (another alert may arrive between loading and viewing alerts) so another action may be required on
alerts.php
to get the number of unread alerts.