Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ select.frontier-type-selector {
background-color: #F8F8F8;
color: #8F8F8F;
display: inline-block;
padding: 12px;
}
li.pods-frontier-version {
color: #AFAFAF;
Expand Down Expand Up @@ -531,4 +530,4 @@ h3.frontier-editor-field-title {
border-top: 1px solid #E0E0E0;
padding: 12px;
text-align: right;
}
}
6 changes: 3 additions & 3 deletions includes/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand All @@ -265,9 +265,9 @@ function field_line_template($id = '{{id}}', $label = '{{label}}', $group = '{{g
<?php echo __('Pods Frontier', 'pods-frontier'); ?>
</li>
<li class="frontier-element-type-label">
<?php echo $element_types[$element['type']]['name']; ?>
<a href="#layout-config-panel"><?php echo $element_types[$element['type']]['name']; ?></a>
</li>
<li<?php echo $settings_default; ?>>
<li class="frontier-element-type-label <?php echo $settings_default; ?>">
<a href="#settings-panel"><?php echo __('Settings', 'pods-frontier'); ?></a>
</li>

Expand Down