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

Menus plugin breaks the Settings on Craft 2.5.2715 #12

Open
echantigny opened this issue Nov 6, 2015 · 7 comments
Open

Menus plugin breaks the Settings on Craft 2.5.2715 #12

echantigny opened this issue Nov 6, 2015 · 7 comments
Milestone

Comments

@echantigny
Copy link

I'm testing the 2.5 beta and noticed that the plugin is break the settings dialog boxes by making the buttons invisible to the user. If I disable the plugin, everything goes back to normal.
screen shot 2015-11-06 at 2 34 02 pm

@ryansnowden
Copy link

Same for me. JS error in the console:

Uncaught SyntaxError: Invalid regular expression: /(^|.)Garnish670893443(.|$)/: Stack Overflow
Uncaught RangeError: Maximum call stack size exceeded

@ryansnowden
Copy link

This is due to some css in the settings.html file

{% set hideSave %}
.buttons {
    display:none;
}

#settings-newmenucontainer.buttons {
    display:block;
}
{% endset %}

{# {% includeCss hideSave %} #}

It seems unnecessary so I just commented it out.

@echantigny
Copy link
Author

If its a piece of required css for some reason in the plugin, we should find a way to be more precise than just .buttons. I'll investigate a bit more if I have time. Thanks

@ryansnowden
Copy link

Saw no reason for it, besides, perhaps legacy.

On 9 Nov 2015, at 10:23 PM, echantigny notifications@github.com wrote:

If its a piece of required css for some reason in the plugin, we should find a way to be more precise than just .buttons. I'll investigate a bit more if I have time. Thanks


Reply to this email directly or view it on GitHub #12 (comment).

@auralon
Copy link

auralon commented Dec 3, 2015

Would be nice to see the necessary patch issued as a pull request, merged and then tagged and released.

@keithmancuso
Copy link
Owner

Hey guys, sorry for the radio silence on this. We're been hard at work on other projects but im working on some updates to this as we speak.

This issue was because we were trying to hide the default "Save" button on the settings page since there are not settings to save there... but it stopped working in 2.5 anyways.

Should be able to post an update this week and sorry again for not being responsive sooner.

@keithmancuso keithmancuso modified the milestone: 1.0 Feb 17, 2016
@boborchard
Copy link

boborchard commented Sep 8, 2016

Nothing has happened, so I opened a PR against this plugin here: #15

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

5 participants