aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'compatibility-client/src')
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
index 088c8a2bd6..36b1468bbd 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
@@ -6348,15 +6348,15 @@ public class VScrollTable extends FlowPanel
if (targetCellOrRowFound) {
setRowFocus(this);
- ensureFocus();
if (dragmode != 0 && (event
.getButton() == NativeEvent.BUTTON_LEFT)) {
+ ensureFocus();
startRowDrag(event, type, targetTdOrTr);
} else if (event.getCtrlKey() || event.getShiftKey()
|| event.getMetaKey()
&& isMultiSelectModeDefault()) {
-
+ ensureFocus();
// Prevent default text selection in Firefox
event.preventDefault();