| Issue 265: | getEventTargetType fails in Internet Explorer | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
Status:
Invalid
Jan 26, 2013
(No comment was entered for this change.)
Labels:
Milestone-Release0.0
|