Commit 1216fd13 authored by Robert Lyon's avatar Robert Lyon

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>
parent 856e8d62
......@@ -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