Skip to content

Fixed errors when call public methods from input without datepicker instance #327

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

Merged
merged 1 commit into from
Feb 29, 2012

Conversation

aparshin
Copy link
Contributor

If public methods ( $(input).datepicker('methodname') ) is called on inputs without datepicker, no errors in original datepicker occurred. But if timepicker in added, JS errors are appeared.

I've just checked datepicker instance in all (I hope) such places.

Here is a test snippet: https://gist.github.com/1938488

trentrichardson added a commit that referenced this pull request Feb 29, 2012
Fixed errors when call public methods from input without datepicker instance
@trentrichardson trentrichardson merged commit d33d08f into trentrichardson:dev Feb 29, 2012
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

Successfully merging this pull request may close these issues.

2 participants