entry_type
entry_type copied to clipboard
EE3: All Tabs are hidden on Publish page?
I'm not sure if this behavior was intentional or not, but in the EE3 version, all the tabs are hidden from the Publish page. I'd like to still be able to access the other tabs like Structure and Revisions.
The main issue seems to be this block of code starting on line 42 of EntryType.js. It's adding the attribute style="display: none;" to all of my tab items:
$tabs.each(function() {
var id = this.id.replace(/^menu_/, ""),
$tab = $(this),
$fieldset = $("#"+id),
$visibleFields = $fieldset.find(".publish_field").filter(function() {
return $(this).css("display") !== "none";
});
$tab.toggle($visibleFields.length > 0);
});
Maybe the tab layout has changed in EE3? None of the tabs have IDs and I don't have any elements with the class publish_field