gwt /
gwt /
9accb2484d44340ebb32d5116158e80e089136d0 Follow-on to spurious horizontal scrollbars fix. Previously, the code to correctly position the focusable element (in the event of a branch collapse with the selected item as a descendant) was placed in the elementClicked method. This did not handle the case of collapsing a branch programatically. The call site has been moved to the bottom of the TreeItem.updateState method. Notice that the code to manipulate the focusable element has remained as part of the Tree class. The idea behind this is that the Tree may want to react in other ways when it finds that a particular TreeItem opens/closes.
Also adds a fix for removing focus outlines around the focusable element in IE6/7.
Patch by: rdayal
Review by: jlabanca
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2413 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed