Commit 1216fd13 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


Change-Id: If6cdce5cf69aeeab02a04da51adea5620aa1e9df
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 856e8d62
...@@ -19,6 +19,9 @@ function addFeedbackError(form, data) { ...@@ -19,6 +19,9 @@ function addFeedbackError(form, data) {
jQuery('.mce-toolbar.mce-first').siblings().toggleClass('hidden'); jQuery('.mce-toolbar.mce-first').siblings().toggleClass('hidden');
mce.focus(); mce.focus();
} }
if (jQuery('#feedback-form').hasClass('modal-docked')) {
formError(form, data); 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