code around ie issues for location#384
Conversation
controls won't work in ie7, ie8
There was a problem hiding this comment.
Sorry James M. Greene,
I didn't know force update removes comments associated with code segment. The
following is your original comment.
"That should definitely be window.location.host instead of
window.location.hostname. Also, I'm not sure if this works when using the
triple-slash short-form for File URIs on the localhost (i.e.
file://localhost/blah is equivalent to file:///blah) as I don't recall offhand
what the Location object will return for these properties when using the File
URI scheme...."
I just replaced hostname with host, you are right. :)
On the tripple-slash issue, I tried file:///* on Chrome, Firefox, IE7 and IE8.
They all work. I think it working. Maybe I don't understand your question?
|
Thanks, landed in 8676feb |
Assigning incomplete url won't work for local files in ie7 and ie8. Means controls won't work when test page is opened locally.