summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-30 02:47:28 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-30 02:47:28 +0000
commit37c3c7ec7aff7fad84b3839ac3fa5437b7b256b2 (patch)
tree97fe1cd55f6501efaaa21129abd043fc94242d8e /includes/theme.inc
parent4f2d69698c849e4e20ad5ae92b0652654a88f840 (diff)
downloadbrdo-37c3c7ec7aff7fad84b3839ac3fa5437b7b256b2.tar.gz
brdo-37c3c7ec7aff7fad84b3839ac3fa5437b7b256b2.tar.bz2
- Patch #769226 by Owen Barton, alanburke, sun: fixed JS/CSS preprocess should default to FALSE.
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 93895c8f8..5d8737943 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -164,7 +164,7 @@ function _drupal_theme_initialize($theme, $base_theme = array(), $registry_callb
// And now add the stylesheets properly
foreach ($final_stylesheets as $media => $stylesheets) {
foreach ($stylesheets as $stylesheet) {
- drupal_add_css($stylesheet, array('weight' => CSS_THEME, 'media' => $media));
+ drupal_add_css($stylesheet, array('weight' => CSS_THEME, 'media' => $media, 'preprocess' => TRUE));
}
}
@@ -189,7 +189,7 @@ function _drupal_theme_initialize($theme, $base_theme = array(), $registry_callb
// Add scripts used by this theme.
foreach ($final_scripts as $script) {
- drupal_add_js($script, array('weight' => JS_THEME));
+ drupal_add_js($script, array('weight' => JS_THEME, 'preprocess' => TRUE));
}
$theme_engine = NULL;