Commit 49d47e43 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Require confirmation before deleting a comment


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 2176ecfc
......@@ -64,6 +64,7 @@ $string['makepublicrequestbyownermessage'] = '%s has requested that you make you
$string['makepublicrequestsent'] = 'A message has been sent to %s to request that the comment be made public.';
$string['newfeedbacknotificationsubject'] = 'New feedback on %s';
$string['placefeedback'] = 'Place feedback';
$string['reallydeletethiscomment'] = 'Are you sure you want to delete this comment?';
$string['thiscommentisprivate'] = 'This comment is private';
$string['typefeedback'] = 'Feedback';
$string['youhaverequestedpublic'] = 'You have requested that this comment be made public.';
......
......@@ -550,6 +550,7 @@ class ArtefactTypeComment extends ArtefactType {
'class' => 'quiet btn-del',
'name' => 'delete_comment_submit',
'value' => get_string('delete'),
'confirm' => get_string('reallydeletethiscomment', 'artefact.comment'),
),
),
);
......
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