Ticket #6165 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

AJAX doesn't work when editing comments on single post

Reported by: mdawaffe Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords: has-patch commit
Cc:

Description

  1. Go to Manage -> Posts
  2. Click comment bubble of post with comments.
  3. Unapprove a comment.
  4. Note that page refreshes instead AJAX updating.

The problem is that we enqueue the ajax JS for these single post pages only when the od $_GET['c'] parameter is set.

Attached.

Attachments

6165.diff (0.6 kB) - added by mdawaffe on 03/11/08 19:31:07.
6165.b.diff (1.3 kB) - added by mdawaffe on 03/11/08 20:07:46.
even better
6165-pages.diff (1.6 kB) - added by mdawaffe on 03/11/08 20:18:32.
for pages

Change History

03/11/08 19:31:07 changed by mdawaffe

  • attachment 6165.diff added.

03/11/08 20:07:46 changed by mdawaffe

  • attachment 6165.b.diff added.

even better

03/11/08 20:10:39 changed by ryan

(In [7247]) Fix AJAX comment ops for single posts. Props mdawaffe. see #6165

03/11/08 20:18:32 changed by mdawaffe

  • attachment 6165-pages.diff added.

for pages

03/11/08 20:26:11 changed by ryan

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

(In [7248]) Fix AJAX comment ops for single pages. Props mdawaffe. fixes #6165