Commit c5d15b64 authored by merlinofchaos's avatar merlinofchaos

#485872 by dereine: Make sure views.css is always loaded for all users.

parent bca64c83
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment