diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-05 19:59:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-05 19:59:10 +0000 |
commit | facc581013f781bd7737d02700a5ffe2a253e5f3 (patch) | |
tree | a65b1bc47b368e420bb3238e75196acd5b471f88 /includes/ajax.inc | |
parent | 0614a78538bcc91f620abb38a0366d6ecee9eb06 (diff) | |
download | brdo-facc581013f781bd7737d02700a5ffe2a253e5f3.tar.gz brdo-facc581013f781bd7737d02700a5ffe2a253e5f3.tar.bz2 |
- Patch #769226 by Owen Barton, sun, effulgentsia, alanburke, bleen18, mfer: optimize JS/CSS aggregation for front-end performance and DX.
Diffstat (limited to 'includes/ajax.inc')
-rw-r--r-- | includes/ajax.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ajax.inc b/includes/ajax.inc index bd590aa66..1760aac5c 100644 --- a/includes/ajax.inc +++ b/includes/ajax.inc @@ -565,7 +565,7 @@ function ajax_process_form($element, &$form_state) { // Attach JavaScript settings to the element. if (isset($element['#ajax']['event'])) { $element['#attached']['library'][] = array('system', 'form'); - $element['#attached']['js']['misc/ajax.js'] = array('weight' => JS_LIBRARY + 2); + $element['#attached']['js']['misc/ajax.js'] = array('group' => JS_LIBRARY, 'weight' => 2); $settings = $element['#ajax']; |