#5315 closed defect (bug) (fixed)
Awaiting Moderation (#): # is not always updated correctly in JS
Reported by: | mdawaffe | Owned by: | |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | 2.3.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
The number in the Comments -> Awaiting Moderation subtab gets updated via JS when comments are approved, unapproved or deleted.
There are a couple of bugs, though.
When the number is updated to 0, it is removed rather than set to "0" (a jQuery oddity).
When a comment is deleted from the Comments -> Amaiting Moderation tab (rather than from the Comments -> Comments tab), the number is not changed.
Attached fixes both.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [6312]) Update awaiting moderation count when comments are moderated through AJAX. Props mdawaffe. fixes #5315