Revision 27e02aed
Added by Assos Assos over 4 years ago
drupal7/includes/ajax.inc | ||
---|---|---|
294 | 294 |
|
295 | 295 |
// Now add a command to merge changes and additions to Drupal.settings. |
296 | 296 |
$scripts = drupal_add_js(); |
297 |
drupal_alter('js', $scripts); |
|
297 | 298 |
if (!empty($scripts['settings'])) { |
298 | 299 |
$settings = $scripts['settings']; |
299 | 300 |
array_unshift($commands, ajax_command_settings(drupal_array_merge_deep_array($settings['data']), TRUE)); |
Also available in: Unified diff
-a