Commit 37946000 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Display success message after reporting objectionable content


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 2a6695d3
......@@ -33,10 +33,11 @@ function addFeedbackSuccess(form, data) {
formSuccess(form, data);
}
function objectionSuccess() {
function objectionSuccess(form, data) {
addElementClass('objection_form', 'hidden');
$('objection_form_message').value = '';
rewriteCancelButtons();
formSuccess(form, data);
}
function rewriteCancelButtons() {
......
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