From f9967334612ce3ec1a687943a8449aa68fa38819 Mon Sep 17 00:00:00 2001 From: James Golovich Date: Tue, 19 Aug 2014 12:03:24 -0700 Subject: [PATCH] Allow the 'Form' header element to be selected to take you back to the 'Layout' editor --- assets/css/admin.css | 3 +-- includes/edit.php | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/css/admin.css b/assets/css/admin.css index e66cdf8..457e410 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -277,7 +277,6 @@ select.frontier-type-selector { background-color: #F8F8F8; color: #8F8F8F; display: inline-block; - padding: 12px; } li.pods-frontier-version { color: #AFAFAF; @@ -531,4 +530,4 @@ h3.frontier-editor-field-title { border-top: 1px solid #E0E0E0; padding: 12px; text-align: right; -} \ No newline at end of file +} diff --git a/includes/edit.php b/includes/edit.php index e5977dc..ec718b6 100644 --- a/includes/edit.php +++ b/includes/edit.php @@ -246,7 +246,7 @@ function field_line_template($id = '{{id}}', $label = '{{label}}', $group = '{{g // FIND A DEFAULT FIRST -$settings_default = " class=\"active\""; +$settings_default = 'active'; if(!empty($element_types[$element['type']]['setup']['tabs']['groups'])){ foreach($element_types[$element['type']]['setup']['tabs']['groups'] as $tab_slug=>&$tab){ @@ -265,9 +265,9 @@ function field_line_template($id = '{{id}}', $label = '{{label}}', $group = '{{g
  • - +
  • - > +