summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-04 17:46:01 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-04 17:46:01 +0000
commit5a23b3fdb970bb0c3e79f47ba9296455d237d9f0 (patch)
treeb9e59f7bdb1ffbbdc569c34f56980aba267ca3fa /modules/system/system.module
parenta50d47f9591d240f212b66332e25d7f2ce50369d (diff)
downloadbrdo-5a23b3fdb970bb0c3e79f47ba9296455d237d9f0.tar.gz
brdo-5a23b3fdb970bb0c3e79f47ba9296455d237d9f0.tar.bz2
- Patch #561858 by effulgentsia, sun, rfay, Nick_vh, merlinofchaos, katbailey, dereine, tstoeckler: drupal_add_js() and drupal_add_css() to work for AJAX requests too by adding lazy-load to AJAX framework.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 44e97e9d4..d83bd4c84 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -514,6 +514,7 @@ function system_menu() {
'page callback' => 'ajax_form_callback',
'delivery callback' => 'ajax_deliver',
'access callback' => TRUE,
+ 'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
'file path' => 'includes',
'file' => 'form.inc',