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

data- attributes not picked up if changed #41

Open
gitbryan opened this issue Jul 26, 2013 · 1 comment
Open

data- attributes not picked up if changed #41

gitbryan opened this issue Jul 26, 2013 · 1 comment

Comments

@gitbryan
Copy link

Using jquery 1.9.0

init of monthpicker checks to see if data has been set, but if the plugin has already been initialized it does not extend the element's data-start-year, data-final-year and data-selected-year attributes if they have changed.

Recommend cloning the element on re-init to get the updated attributes (since the first init causes jquery default .data() to lose its values) and reloading select.mtz-monthpicker-year.

olleicua added a commit to olleicua/jquery.mtz.monthpicker that referenced this issue Aug 3, 2013
@olleicua
Copy link

olleicua commented Aug 3, 2013

ignore #43
use #49

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

2 participants