Commit 647b20e1 authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon

Bug 1582967: Make "Delete Comment" form IDs unique

Change-Id: I4a217eda8ae6ec9691541cc38c3efd3538aa2c0b
behatnotneeded: Covered by existing tests
parent 792236a0
......@@ -823,7 +823,8 @@ class ArtefactTypeComment extends ArtefactType {
public static function delete_comment_form($id) {
global $THEME;
return array(
'name' => 'delete_comment',
'name' => 'delete_comment' . $id,
'successcallback' => 'delete_comment_submit',
'renderer' => 'oneline',
'elements' => array(
'comment' => array('type' => 'hidden', 'value' => $id),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment