Attached is a patch to fix an issue I encountered where it was possible that the Edit link would stop working because its selector was too focused. The issue for me was this:

  • On an existing or new comment inside of a view
  • Click the Edit link (this should bring up the form via ajax)
  • Click the Cancel / Submit link (this should replace the form with an updated copy of the comment, via ajax)
  • Click Edit again, it fails (in my setup anyway) because the insert/replace command adds wrapper divs which breaks the child selector #comment-wrapper-123 >.comment

Simply relaxing the selector a little bit helps jQuery ignore the wrapper divs.

Comments

formatC'vt’s picture

Issue summary: View changes
Status: Needs review » Fixed

Try latest dev, please

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.