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
96e4b76a
Commit
96e4b76a
authored
Jul 30, 2014
by
git
Committed by
jelles
Jul 30, 2014
Browse files
Issue #2312043 by mrmikedewolf: Fixed Latest updates breaks hook_js_alter.
parent
89c10c7d
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 @
96e4b76a
...
...
@@ -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
;
}
drupal_add_js
(
$clientside_validation_settings
,
'setting'
)
;
$javascript
[
'settings'
][
'data'
][]
=
$clientside_validation_settings
;
}
function
clientside_validation_ajax_render_alter
(
&
$commands
)
{
...
...
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