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

Fix bug preventing feedback from being placed twice


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 07523adb
......@@ -56,13 +56,13 @@ feedbacklist.rowfunction = function(r, n, d) {
feedbacklist.emptycontent = get_string('nopublicfeedback');
function addFeedbackSuccess() {
hideElement('add_feedback_form');
addElementClass('add_feedback_form', 'js-hidden');
$('add_feedback_form_message').innerHTML = '';
feedbacklist.doupdate();
}
function objectionSuccess() {
hideElement('objection_form');
addElementClass('objection_form', 'js-hidden');
$('objection_form_message').innerHTML = '';
}
......
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