Skip to content

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