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
9d564fc5
Commit
9d564fc5
authored
Oct 29, 2013
by
git
Committed by
Peter Droogmans
Oct 29, 2013
Browse files
Issue #2114207 by thekatic: Fixed Notice when in Read only mode.
parent
c03efa3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
clientside_validation_webform/clientside_validation_webform.module
...e_validation_webform/clientside_validation_webform.module
+1
-1
No files found.
clientside_validation_webform/clientside_validation_webform.module
View file @
9d564fc5
...
...
@@ -138,7 +138,7 @@ function clientside_validation_webform_after_build_recurse($form_id, &$form, &$f
*/
function
clientside_validation_webform_add_webform_validation
(
$form_id
,
&
$form
,
&
$form_state
,
&
$js_rules
)
{
if
(
$webform_validation_rules
=
_clientside_validation_webform_webform_validation
(
$form_state
[
'values'
][
'details'
][
'nid'
],
$form
))
{
if
(
isset
(
$form_state
[
'values'
][
'details'
])
&&
$webform_validation_rules
=
_clientside_validation_webform_webform_validation
(
$form_state
[
'values'
][
'details'
][
'nid'
],
$form
))
{
$checkboxrules
=
array
();
foreach
(
$webform_validation_rules
as
$webform_validation_rule
)
{
$negate
=
isset
(
$webform_validation_rule
[
'negate'
])
&&
$webform_validation_rule
[
'negate'
];
...
...
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