Ticket #214 (closed defect: fixed)
Problems with date-control on IE8
| Reported by: | bc | Owned by: | mpo |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.4 |
| Component: | modules/kauri-forms | Version: | trunk |
| Keywords: | ie8 | Cc: |
Description
Using: XP/Internet explorer 8.0.6001.18702 (currently the most recent version)
When opening a form with values set (setWireValue), those values are not visible and you get a javascript error
Bericht: Toegang geweigerd.
Regel: 1026
Teken: 5
Code: 0
URI: .......
When running in compatibility mode (little icon next to the address-bar, everything works fine)
this doesn't seem to happen on my Vista with IE 8.0.6001.18372 (I can't test this on the same version of IE because it doesn't exist on Vista).
This error can easily be reproduced by adding the next lines to the 'basic-controls1' page in the samples
var test = $.org.kauriproject.JSON.parse("{\"name\":\"Homer\"}");
basicForm.setWireValue(test, true);
Attachments
Change History
comment:2 in reply to: ↑ description Changed 2 years ago by sdm
I also experience this problem in several projects that use a datepicker. I tested the kauri-forms-sample on IE8, I didn't even have to make the changes mentioned by BC, and the "Access denied" error showed up while loading 'basic-controls1'.
The strange thing is that the error only shows up when I browse to
http://localhost:8888/ and http://my-pc.mydomain.be:8888/
, but not when I surf to
http://my-pc:8888/
While debugging, I found out that the error occurs on the following line in jquery.1.3.2.js:
elem.setAttribute( name, "" + value );
with name = "src" and value = "javascript:void(0);"
The error doesn't occur in compatibility mode.