From 5a23b3fdb970bb0c3e79f47ba9296455d237d9f0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 4 Oct 2010 17:46:01 +0000 Subject: - 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. --- modules/system/system.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/system/system.module') 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', -- cgit v1.2.3