I think you are making things needlessly complicated here.  Usually
the best solutions are the simplest ones.

Let's start with the basics: what version of IE, and what version of
jQuery UI?

An observation: if you are in a restricted execution environment, you
should program defensively at the outset, and alert the user long
before the datePicker gets invoked.

In other words, why would the burden of detecting, handling, and
recovering from a system-level restriction be placed on a compnent-
level widget?

So consider coding a simple test at the top-of-page to detect this js
access/execution issue, and alert the user.

**--**  Steve


On Jan 19, 10:30 am, anemon <anemo...@gmail.com> wrote:
> I run my site with ui datepicker at localhost in IE with security
> params - internet zone, high level(ask to enable javascript). I add
> localhost to trusted sites. When datepicker shows (_updateDatepicker
> function call),IE ask me to enable javascript - it`s not correct
> behaviour.
> Generated datepicker div contains js functions call and
> jquery-1.3.2.js first of all sets div.innerHTML and then
> fragment.appendChild().http://karma.nucleuscms.org/item/101has
> decision that innerHTML must be after appendChild.
> I have fixed this on datepicker`s side by appending an empty
> datepicker`s div and then set it`s innerHTML (function
> _updateDatepicker):
> var jq = inst.dpDiv.empty().append('');
> jq[0].innerHTML = this._generateHTML(inst);
> Is this issue might be considered as bug and can I submit this fix in
> repository?
-- 
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to