Commit c04137ed authored by bbaer's avatar bbaer
Browse files

Hides it again. The whole code here should be changed

parent 3cb172f6
......@@ -307,6 +307,13 @@ var QfqNS = QfqNS || {};
n.QfqForm.prototype.validationSuccess = function (info) {
var $formControl = $(info.data.element);
var $messageContainer = $formControl.siblings('.with-errors');
if ($messageContainer.length === 0) {
if ($formControl.parent().hasClass('input-group')) {
$messageContainer = $formControl.parent().siblings('.hidden.with-errors');
}
}
if ($messageContainer.data('qfq.hidden.message') === true) {
$messageContainer.addClass('hidden');
}
......
Supports Markdown
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