Opened 8 years ago

Closed 8 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 8 years ago by Scott González

Component: ui.coreui.datepicker
Owner: set to 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.

comment:2 Changed 8 years ago by trac-o-bot

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!

Note: See TracTickets for help on using tickets.