Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15488 closed defect (bug) (fixed)

Ajax comment management broken by pagination

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

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
14 years ago

Doh, forgot to mention. Trunk btw.

#3 @nacin
14 years ago

  • Keywords needs-patch added; ajax comments pagination removed
  • Milestone changed from Awaiting Review to 3.1

#4 @scribu
14 years ago

  • Owner set to scribu
  • Status changed from new to accepted

#5 @scribu
14 years ago

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

#6 @scribu
14 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

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

Note: See TracTickets for help on using tickets.