Commit 96e4b76a authored by git's avatar git Committed by jelles
Browse files

Issue #2312043 by mrmikedewolf: Fixed Latest updates breaks hook_js_alter.

parent 89c10c7d
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment