entry_type icon indicating copy to clipboard operation
entry_type copied to clipboard

EE3: All Tabs are hidden on Publish page?

Open noellekimiko opened this issue 8 years ago • 0 comments

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

noellekimiko avatar Jun 16 '17 17:06 noellekimiko