Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
5a3471c4
Commit
5a3471c4
authored
Jun 11, 2018
by
bbaer
Browse files
Finds error messages outside of input-group if input-group is used.
parent
20e16ec0
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/Element/FormGroup.js
View file @
5a3471c4
...
...
@@ -44,7 +44,11 @@ QfqNS.Element = QfqNS.Element || {};
this
.
$formGroup
=
this
.
$findFormGroup
(
$enclosedElement
);
this
.
$element
=
this
.
$formGroup
.
find
(
elementSelector
);
this
.
$label
=
this
.
$formGroup
.
find
(
'
.control-label
'
);
this
.
$helpBlock
=
this
.
$formGroup
.
find
(
"
.help-block
"
);
if
(
this
.
$formGroup
.
hasClass
(
"
.input-group
"
))
{
this
.
$helpBlock
=
this
.
$formGroup
.
parent
().
find
(
"
.help-block
"
);
}
else
{
this
.
$helpBlock
=
this
.
$formGroup
.
find
(
"
.help-block
"
);
}
};
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment