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
7059ecc9
Commit
7059ecc9
authored
Oct 13, 2015
by
Jelle Sebreghts
Browse files
Issue #2454141 by heathdutton: Compatibility with Panopoly Magic
parent
ccd4dbc0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
clientside_validation.js
clientside_validation.js
+1
-1
No files found.
clientside_validation.js
View file @
7059ecc9
...
@@ -1608,7 +1608,7 @@
...
@@ -1608,7 +1608,7 @@
ret
=
true
;
ret
=
true
;
}
}
var
id
=
element
.
is
(
'
form
'
)
?
element
.
attr
(
'
id
'
)
:
element
.
closest
(
'
form
'
).
attr
(
'
id
'
);
var
id
=
element
.
is
(
'
form
'
)
?
element
.
attr
(
'
id
'
)
:
element
.
closest
(
'
form
'
).
attr
(
'
id
'
);
if
(
id
&&
Drupal
.
myClientsideValidation
.
validators
[
id
])
{
if
(
id
&&
Drupal
.
myClientsideValidation
.
validators
[
id
]
&&
Drupal
.
myClientsideValidation
.
validators
[
id
].
form
)
{
Drupal
.
myClientsideValidation
.
validators
[
id
].
onsubmit
=
false
;
Drupal
.
myClientsideValidation
.
validators
[
id
].
onsubmit
=
false
;
ret
=
ret
&&
Drupal
.
myClientsideValidation
.
validators
[
id
].
form
();
ret
=
ret
&&
Drupal
.
myClientsideValidation
.
validators
[
id
].
form
();
if
(
!
ret
)
{
if
(
!
ret
)
{
...
...
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