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
6a70c829
Commit
6a70c829
authored
Sep 02, 2013
by
Jelle
Browse files
Issue #1966832 by Martijn Houtman: Fixed Incorrect use of hook_js_alter().
parent
25bc4ea9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
clientside_validation.module
clientside_validation.module
+1
-1
No files found.
clientside_validation.module
View file @
6a70c829
...
...
@@ -30,7 +30,7 @@ function clientside_validation_js_alter(&$javascript) {
$clientside_validation_settings
[
'clientsideValidation'
][
'general'
][
'months'
][
t
(
date
(
'F'
,
$date
))]
=
$month_number
;
$clientside_validation_settings
[
'clientsideValidation'
][
'general'
][
'months'
][
t
(
date
(
'M'
,
$date
))]
=
$month_number
;
}
$javascript
=
drupal_add_js
(
$clientside_validation_settings
,
'setting'
)
;
$javascript
[
'settings'
][
'data'
][]
=
$clientside_validation_settings
;
}
/**
...
...
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