Ticket #3639 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Delete and Mark as Spam broken on admin post comment page

Reported by: matt Assigned to: anonymous
Priority: low Milestone: 2.1.2
Component: Administration Version: 2.1
Severity: normal Keywords: has-patch needs-testing
Cc:

Description

To recreate:

  • Go to manage
  • Click on the comments number for a specific post to go to that post's admin comments page
  • Click on delete or mark as spam, the page reloads

Expect: AJAXy non-reload action. (Which works for approve/unapprove on the same page.)

Attachments

delete_spam_comments_ajax.diff (3.7 kB) - added by markjaquith on 01/23/07 07:38:46.
Patch for trunk and /branches/2.1/

Change History

01/23/07 07:38:46 changed by markjaquith

  • attachment delete_spam_comments_ajax.diff added.

Patch for trunk and /branches/2.1/

01/23/07 07:40:19 changed by markjaquith

  • keywords set to has-patch needs-testing.

About the patch:

I just copy-pasted the similar block of code from edit-comments.php and it seems to work just fine now.

We could even functionize that baby to cut down on the redundancy.

02/21/07 16:06:25 changed by Nazgul

  • milestone changed from 2.1.1 to 2.1.2.

02/22/07 01:50:20 changed by ryan

Fine by me functionalized or not. Commit away Mark.

02/25/07 11:22:51 changed by markjaquith

  • status changed from new to closed.
  • resolution set to fixed.

(In [4935]) Fix AJAX delete/spam on individual post comments view. fixes #3639

02/25/07 11:23:06 changed by markjaquith

(In [4936]) Fix AJAX delete/spam on individual post comments view. fixes #3639