Development

#3258 (Duplication of DOM id when updating sf_comment_list with _commentList partial)

You must first sign up to be able to contribute.

Ticket #3258 (closed defect: fixed)

Opened 8 months ago

Last modified 4 months ago

Duplication of DOM id when updating sf_comment_list with _commentList partial

Reported by: joran Assigned to: xavier
Priority: minor Milestone:
Component: sfPropelActAsCommentablePlugin Version: 1.0.10
Keywords: sfPropelActAsCommentablePlugin dom id duplication Cc:
Qualification: Unreviewed

Description

when submiting form in Ajax mode, the _commentForm.php partial update the 'sf_comment_list' id, re-inserting a 'sf_comment_list' id in the DOM by reloading the commentSuccess.php template which include the 'commentList' component already bearing the 'sf_comment_list' id. This results in a cascading 'sf_comment_list' DOM ids which should be unique.

Change History

08/11/08 13:26:57 changed by xavier

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

fixed in [10773].