Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
clientside_validation
Commits
45ea7f55
Commit
45ea7f55
authored
Jul 04, 2013
by
fearlsgroove
Committed by
Jelle
Jul 04, 2013
Browse files
Issue #2026437 by fearlsgroove: Fixed Incorrectly hides single server side error message.
parent
40678e5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside_validation.js
View file @
45ea7f55
...
...
@@ -704,7 +704,7 @@
window
.
setTimeout
(
function
(){
var
visibles
=
0
;
// @TODO: check settings
$
(
"
div.messages.
error ul li
"
).
each
(
function
(){
$
(
"
.clientside-
error ul li
"
).
each
(
function
(){
if
(
$
(
this
).
is
(
'
:visible
'
)){
visibles
++
;
}
...
...
@@ -713,7 +713,7 @@
}
});
if
(
visibles
<
1
){
$
(
"
div.messages.
error
"
).
hide
();
$
(
"
.clientside-
error
"
).
hide
();
}
},
1
);
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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