My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 265: getEventTargetType fails in Internet Explorer
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Jan 2012


 
Reported by kunal...@gmail.com, Jan 2, 2012
What steps will reproduce the problem?
1. Attach event onClick for the Tree
2. Now try to use the event parameter "node" and "event" to call the function "getEventTargetType" to determine where the click actually happened.
3. Notice that call will be successful in Chrome/Firefox whereas it will fail in IE browser. 

Noticed in source code that getEventTargetType uses the following statement 
"var tcn = event && event.target ? (event.target instanceof HTMLImageElement? ($(event.target).parent().siblings("ul").length==1?"dynatree-expander":"") : event.target.className) : "";"

In IE, test for HTMLImageElement simply fails.Probably it could be change to test for Tag Name? 


What is the expected output? What do you see instead?
It should return the correct string where the click actually happened. 

What version of the dynatree and jQuery are you using?
- jQuery version - 1.6.4
- dynatree version - 1.1.1

On what operating system and browser?
WIndows XP, IE, Chrome, Firefox

What DOCTYPE declaration are you using?
<!--DOCTYPE html -->

Please provide any additional information below.

Jan 3, 2012
Project Member #1 moo...@wwwendt.de
This should be fixed in the current versions (1.2+)
Status: Invalid
Jan 26, 2013
Project Member #2 moo...@wwwendt.de
(No comment was entered for this change.)
Labels: Milestone-Release0.0

Powered by Google Project Hosting