Opened 11 years ago
Closed 11 years ago
#8426 closed bug (notabug)
DatePicker IE8 : bug
Reported by: | kazamafury | Owned by: | kazamafury |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have got the following error message with IE8 and datepicker :
"Unable to activate the control because it is either invisible or inactive, is of a type not recognizing this feature" File : jquery-1.7.2.js Line : 3241
This bug is appearing when this part of code is trying to apply "focus()" on a disabled datePicker element.
When my page is loaded, I have a datepicker which is not disabled. But this datepicker appears in a pop-up (with div having display:none) and is shown when the pop-up appears. Information is loaded with ajax, but when information is loading, I disable all elements in the pop-up then enable them after ajax request successes.
I have temporary fixed this with the following test :
if(type == 'focus' && !$(elem).attr('disabled')) { elem[ type ](); }
Best Regards.
Change History (2)
comment:1 Changed 11 years ago by
Component: | ui.core → ui.datepicker |
---|---|
Owner: | set to kazamafury |
Status: | new → pending |
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Please provide a reduced test case (not using ajax) on jsFiddle or jsbin that shows what you're doing. If you're manually trying to open a datepicker on a disabled field, then that's an invalid use.