summaryrefslogtreecommitdiff
path: root/modules/field/field.attach.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 /modules/field/field.attach.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 'modules/field/field.attach.inc')
-rw-r--r--modules/field/field.attach.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index 3753b2f75..3383a5793 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -542,7 +542,6 @@ function field_attach_form($entity_type, $entity, &$form, &$form_state, $langcod
// Add custom weight handling.
list($id, $vid, $bundle) = entity_extract_ids($entity_type, $entity);
- $form['#attached']['css'][] = drupal_get_path('module', 'field') . '/theme/field.css';
$form['#pre_render'][] = '_field_extra_fields_pre_render';
$form['#entity_type'] = $entity_type;
$form['#bundle'] = $bundle;
@@ -1129,9 +1128,6 @@ function field_attach_view($entity_type, $entity, $view_mode, $langcode = NULL)
$output['#entity_type'] = $entity_type;
$output['#bundle'] = $bundle;
- // Include CSS styles.
- $output['#attached']['css'][] = drupal_get_path('module', 'field') . '/theme/field.css';
-
// Let other modules alter the renderable array.
$context = array(
'entity_type' => $entity_type,