summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2009-09-15 20:59:58 (GMT)
committer Earl Miles2009-09-15 20:59:58 (GMT)
commitc5d15b64623fbc27c6cb90a391fbaabbbd0f09a0 (patch)
tree9f9470e281493369e1f5176c49536c962a216907
parentbca64c8306d2618c86b42e3dfac6110b8b1dce9f (diff)
#485872 by dereine: Make sure views.css is always loaded for all users.
-rw-r--r--theme/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/theme.inc b/theme/theme.inc
index 396a92e..0e528cc 100644
--- a/theme/theme.inc
+++ b/theme/theme.inc
@@ -109,12 +109,12 @@ function template_preprocess_views_view(&$vars) {
drupal_alter('views_admin_links', $vars['admin_links_raw'], $view);
$vars['admin_links'] = theme('links', $vars['admin_links_raw']);
- views_add_css('views');
}
else {
$vars['admin_links'] = '';
$vars['admin_links_raw'] = array();
}
+ views_add_css('views');
// Our JavaScript needs to have some means to find the HTML belonging to this
// view.