From da5d3a58f3d7a66ed0077d2ecb6117c958bd869c Mon Sep 17 00:00:00 2001 From: Jesper Kristensen Date: Thu, 21 Sep 2017 14:44:55 +0200 Subject: [PATCH] SUPPORT-1222: Fixed new posts published state --- modules/loop_search_node/loop_search_node.module | 1 - themes/loop/css/styles.css | 2 ++ themes/loop/sass/modules/_search.scss | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/loop_search_node/loop_search_node.module b/modules/loop_search_node/loop_search_node.module index 5357d311..efdacb0e 100644 --- a/modules/loop_search_node/loop_search_node.module +++ b/modules/loop_search_node/loop_search_node.module @@ -72,7 +72,6 @@ function loop_search_node_no_results() { // Get "post" node create form. $form = drupal_get_form('node_form', $node); - $form['additional_settings']['#access'] = FALSE; drupal_json_output(array( 'settings' => $form['field_keyword']['und']['#attached']['js'], diff --git a/themes/loop/css/styles.css b/themes/loop/css/styles.css index cf9829d5..797b6735 100755 --- a/themes/loop/css/styles.css +++ b/themes/loop/css/styles.css @@ -3458,6 +3458,8 @@ a.question--term { -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; } + .search-result--block .vertical-tabs-panes { + display: none; } .search-result--link { display: block; diff --git a/themes/loop/sass/modules/_search.scss b/themes/loop/sass/modules/_search.scss index a174fd7a..8af88f6d 100644 --- a/themes/loop/sass/modules/_search.scss +++ b/themes/loop/sass/modules/_search.scss @@ -116,6 +116,10 @@ .layout-full-width { @include border-radius(0); } + + .vertical-tabs-panes { + display: none; + } } .search-result--link {