Hi,

I've ran into what I believe is a bug with datepicker, and decided to
run it by the list before putting it in the bug tracker.

We're in a process of adopting jQuery UI (v.1.7.2) for our site, and
one of the requirements for the datepicker is to be able to disable
the input field once the picker is opened, and re-enable it back when
the picker is closed. The following picker event handlers accomplish
that on Firefox:

beforeShow: function(input) {input.disabled = true;},
onClose: function(dateText, inst) {this.disabled = false;}

However, in IE8, the picker always stays on the screen once opened -
the onClose handler never executes (that includes closing it with the
"Done" button), unless a new date is picked (so that it's not possible
to cancel the date selection). Removing the event handlers makes the
picker to work normally again.

Is this a bug?

Thanks,

Alex

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to