HomePhorge

Fix bug when multiple comment forms appear on a single page

Description

Fix bug when multiple comment forms appear on a single page

Summary:
Ref T3373. The submit listener doesn't properly scope the form it listens to right now, so several forms on the page mean that comments post to one of them more or less at random.

Scope it properly by telling it which object PHID it is associated with.

Test Plan: Made Question comments, saw comments Ajax in on the question itself rather than on an arbitrary answer.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3373

Differential Revision: https://secure.phabricator.com/D6611

Details

Provenance
epriestleyAuthored on Jul 28 2013, 6:21 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPb6130ad49e48: Restore Ponder question commenting
Branches
Unknown
Tags
Unknown

Event Timeline