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

Page reload causes dependent menu to lose options #11

Open
phptek opened this issue Dec 3, 2015 · 0 comments
Open

Page reload causes dependent menu to lose options #11

phptek opened this issue Dec 3, 2015 · 0 comments

Comments

@phptek
Copy link

phptek commented Dec 3, 2015

Firefox 42 / Ubuntu 14.12

With x2 sets of dependent menus on a frontend form (one set for Region + Country, one set for Taxonomy + Children) if I make a selection in the first menu, the dependent menu shows the correct options [PASS]. However, if I reload the browser, the child menu loses its options. [FAIL]

Adding the following to the .js file fixes it:

depends.trigger('change');

...right before the main depends.change() line (Shouldn't that now be:

depends.on('change', function () { 
...
});

??

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