Modify

Ticket #214 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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:1 Changed 2 years ago by jgou

  • Priority changed from major to critical

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.

comment:3 Changed 2 years ago by freya

This error in IE8 is removed by removing the javascript:void(0) as source argument for the image. Does not change the behavior or look of the datepicker in any way and will added in the next revision.

comment:4 follow-up: ↓ 6 Changed 2 years ago by freya

solved in r1441

comment:5 Changed 2 years ago by freya

  • Status changed from new to closed
  • Resolution set to fixed

comment:6 in reply to: ↑ 4 Changed 2 years ago by jgou

Replying to freya:

solved in r1441

solved in r1442

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.