sridhars711 / dynatree

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

Setting focus too often #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(Request by Ben)
I'm using the functionality described in the documentation to have the
onSelect handler open a URL that is specified in the data element of my
unordered list.  It's the example here:
http://wwwendt.de/tech/dynatree/doc/sample-events.html

My problem is that the new window that is opened using this method is
always opened behind the current window.  I need to be able to have the
newly opened window be the one in focus.  How would I change this
functionality to accomplish that?

Reason:
onClick() (~line 428) sets the focus to the node, *after* onSelect was
called, thus bringing the tree window back to the foreground.

Original issue reported on code.google.com by moo...@wwwendt.de on 11 Dec 2008 at 8:10

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 16 Dec 2008 at 7:00

GoogleCodeExporter commented 9 years ago
(use IE7 to reproduce)

Original comment by moo...@wwwendt.de on 14 Jan 2009 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 17 Jan 2009 at 9:23

GoogleCodeExporter commented 9 years ago
considered verified

Original comment by moo...@wwwendt.de on 17 Jul 2012 at 4:12