Commit 53ba57f1 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1626818: Also allow the comment modal to stay open on error



When we are using comments as a block on page rather than at base

behatnotneeded

Change-Id: If6cdce5cf69aeeab02a04da51adea5620aa1e9df
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 1216fd13)
parent d8816408
......@@ -19,6 +19,9 @@ function addFeedbackError(form, data) {
jQuery('.mce-toolbar.mce-first').siblings().toggleClass('hidden');
mce.focus();
}
if (jQuery('#feedback-form').hasClass('modal-docked')) {
jQuery('#feedback-form').removeClass('closed').addClass('active');
}
formError(form, data);
}
......
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