Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#15488 closed defect (bug) (fixed)

Ajax comment management broken by pagination

Reported by: hew Owned by: scribu
Priority: normal Milestone: 3.1
Component: Comments Version:
Severity: normal Keywords: needs-patch
Cc: Focuses:

Description

To reproduce:

1) You need a blog with more than one page's worth of comments in the comment management section.
2) Approve, unapprove, or trash a comment on page 1. Behavior should be fine.
3) Move to page 2 or beyond.
4) Approve, unapprove, or trash a comment. The entire page should reload dropping you back on page 1.

Change History (6)

#2 @hew
16 years ago

Doh, forgot to mention. Trunk btw.

#3 @nacin
16 years ago

  • Keywords needs-patch added; ajax comments pagination removed
  • Milestone Awaiting Review → 3.1

#4 @scribu
16 years ago

  • Owner set to scribu
  • Status new → accepted

#5 @scribu
16 years ago

The problem is that the events are attached directly to the links, instead of being delegated.

#6 @scribu
16 years ago

  • Resolution → fixed
  • Status accepted → closed

(In [16486]) Use event delegation in wp-lists.js. Fixes #15488

Note: See TracTickets for help on using tickets.