Issue #1864944 by Wim Leers: Fixed ajaxPageState does not contain JS files that are in scopes other than 'header'
parent
8e102d2a73
commit
7f66670a99
|
@ -3827,7 +3827,7 @@ function drupal_get_js($scope = 'header', $javascript = NULL, $skip_alter = FALS
|
|||
|
||||
// Provide the page with information about the individual JavaScript files
|
||||
// used, information not otherwise available when aggregation is enabled.
|
||||
$setting['ajaxPageState']['js'] = array_fill_keys(array_keys($items), 1);
|
||||
$setting['ajaxPageState']['js'] = array_fill_keys(array_keys($javascript), 1);
|
||||
unset($setting['ajaxPageState']['js']['settings']);
|
||||
|
||||
// Provide the page with information about the individual CSS files used,
|
||||
|
|
Loading…
Reference in New Issue