Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EE3: All Tabs are hidden on Publish page? #48

Open
noellekimiko opened this issue Jun 16, 2017 · 0 comments
Open

EE3: All Tabs are hidden on Publish page? #48

noellekimiko opened this issue Jun 16, 2017 · 0 comments

Comments

@noellekimiko
Copy link
Contributor

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 added a commit to noellekimiko/entry_type that referenced this issue Jun 16, 2017
Issue: rsanchez#48

Updating code to work with the new EE3 Publish layout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant