diff options
author | Jonatan Kronqvist <jonatan.kronqvist@itmill.com> | 2011-04-01 10:56:52 +0000 |
---|---|---|
committer | Jonatan Kronqvist <jonatan.kronqvist@itmill.com> | 2011-04-01 10:56:52 +0000 |
commit | 490b95721369608ad00211a95caf198b64e523dc (patch) | |
tree | 14c764e5aa227ac6f9eb9b63055925569d523479 /src | |
parent | bc4667b8692449b42a1dc691ebbb5f3313625b50 (diff) | |
download | vaadin-framework-490b95721369608ad00211a95caf198b64e523dc.tar.gz vaadin-framework-490b95721369608ad00211a95caf198b64e523dc.zip |
Fixes #6367 - huge tables no longer jump when clicking headers to sort
svn changeset:18076/svn branch:6.5
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java index a607b4617f..7e6c6ecd82 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java @@ -1933,7 +1933,8 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, * they lose focus. */ if (DOM.eventGetType(event) == Event.ONMOUSEDOWN) { - scrollBodyPanel.setFocus(true); + // scrollBodyPanel.setFocus(true); + getElement().focus(); } handleCaptionEvent(event); event.stopPropagation(); |