Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Dateinput trigger opens calendar even for disabled inputs #158
If you disable a dateinput field, the trigger (optional anchor) remains clickable and can be used to open the calendar. The following commit fixes it: eugenebolshakov/jquerytools@30f260b
Besides, the input.is('[readonly]') doesn't work in chrome for me (6.0.472.51 beta, linux), so I've replaced it with input.attr('readonly').
I have now copy/pasted your patch. here is the commit:
For some reason your fix could not be committed directly from the fork queue.