venkatanagaraju / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

onClick fired twice in place of onDblClick #404

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

In IE9, double clicking on a node will activate the onClick function  twice 
instead of the onDblClick function. 
In Firefox, the double click event fires correctly, with the exact same code.

Line 2973:
In IE9:
 the event.type is "click" when it should be "dblclick"
InFF18:
 the event.type is correctly "dblclick"

Also, line 49 displays:

In IE9:
 "...event(undefined: dtnode: undefined, click, DynaTreeNode<Test>: 'Test'"
In FF18:
"...event(dblclick: dtnode: DynaTreeNode<Test>: 'Test'"

I understand there has been some issues with registering double clicks in IE 
(http://webbugtrack.blogspot.com/2008/01/bug-263-beware-of-doubleclick-in-ie.htm
l). Could this be part of the issue even though it was supposedly resolved?

My Setup:
-Windows7SP1
-FF18.0
-IE9.0.8112...
-Dynatree PLugin v1.2.3
-jquery 1.8.0

Original issue reported on code.google.com by Eboqu...@gmail.com on 20 Feb 2013 at 10:14

GoogleCodeExporter commented 9 years ago
Ignore, it was an exception in the double click event returning to dynatree.

Original comment by Eboqu...@gmail.com on 22 Feb 2013 at 8:23

GoogleCodeExporter commented 9 years ago
thanks for reporting this as obsolete.

Original comment by moo...@wwwendt.de on 24 Feb 2013 at 9:31