Skip to main content

Search and Top Navigation

#8426 closed bug (notabug)

Opened July 06, 2012 09:43AM UTC

Closed July 21, 2012 08:41AM UTC

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:

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.

Attachments (0)
Change History (2)

Changed July 06, 2012 12:37PM UTC by scottgonzalez comment:1

component: ui.coreui.datepicker
owner: → kazamafury
status: newpending

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.

Changed July 21, 2012 08:41AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

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!