From f94161ec1da43935fd13cdc7197b2844e767b65c Mon Sep 17 00:00:00 2001 From: Andrew Chernous Date: Mon, 13 Jul 2015 16:33:02 +0300 Subject: [PATCH] regression_views --- core/modules/views/views.theme.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc index fbe962e..b154eae 100644 --- a/core/modules/views/views.theme.inc +++ b/core/modules/views/views.theme.inc @@ -670,6 +670,8 @@ function template_preprocess_views_view_table(&$variables) { // This is needed to target tables constructed by this function. $variables['responsive'] = TRUE; } + // Attached style for table. + $variables['view']->element['#attached']['library'][] = 'views/views.module'; } /** @@ -771,6 +773,8 @@ function template_preprocess_views_view_grid(&$variables) { // Add items to the variables array. $variables['items'] = $items; + // Attached style for grid. + $variables['view']->element['#attached']['library'][] = 'views/views.module'; } /** -- 1.9.5.msysgit.0