Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
clientside_validation
Commits
76e1ce40
Commit
76e1ce40
authored
Nov 06, 2014
by
Peter Droogmans
Browse files
Support for BEM qualifier
parent
ad66e048
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
clientside_validation.js
clientside_validation.js
+9
-1
No files found.
clientside_validation.js
View file @
76e1ce40
...
@@ -534,7 +534,15 @@
...
@@ -534,7 +534,15 @@
};
};
break
;
break
;
case
6
:
// CLIENTSIDE_VALIDATION_TOP_OF_FIRST_FORM
case
6
:
// CLIENTSIDE_VALIDATION_TOP_OF_FIRST_FORM
if
(
$
(
'
div.messages.error
'
).
length
)
{
if
(
$
(
'
div.messages--error
'
).
length
)
{
if
(
$
(
'
div.messages--error
'
).
attr
(
'
id
'
).
length
)
{
errorel
=
$
(
'
div.messages--error
'
).
attr
(
'
id
'
);
}
else
{
$
(
'
div.messages--error
'
).
attr
(
'
id
'
,
errorel
);
}
}
else
if
(
$
(
'
div.messages.error
'
).
length
)
{
if
(
$
(
'
div.messages.error
'
).
attr
(
'
id
'
).
length
)
{
if
(
$
(
'
div.messages.error
'
).
attr
(
'
id
'
).
length
)
{
errorel
=
$
(
'
div.messages.error
'
).
attr
(
'
id
'
);
errorel
=
$
(
'
div.messages.error
'
).
attr
(
'
id
'
);
}
}
...
...
Write
Preview
Markdown
is supported
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