summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuho Nurminen <juho@vaadin.com>2013-12-04 15:13:48 +0200
committerArtur Signell <artur@vaadin.com>2013-12-04 15:29:00 +0200
commit614dc5e96a0e5bc77271887409589bef14d79f5f (patch)
tree51f17c1c2896bc3e607bfade729408bc010c4bdc
parentad4a639bb96944eddde9d54eff6f52321269922b (diff)
downloadvaadin-framework-614dc5e96a0e5bc77271887409589bef14d79f5f.tar.gz
vaadin-framework-614dc5e96a0e5bc77271887409589bef14d79f5f.zip
Don't send TabSheet focus and blur events to the server when moving the focus from one tab to another (#12971)7.1.9
Change-Id: Ie496a403bdcfc833c4871efbae11453efa66c14e
-rw-r--r--client/src/com/vaadin/client/ui/VTabsheet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VTabsheet.java b/client/src/com/vaadin/client/ui/VTabsheet.java
index 85c28218f7..8de39d6b4b 100644
--- a/client/src/com/vaadin/client/ui/VTabsheet.java
+++ b/client/src/com/vaadin/client/ui/VTabsheet.java
@@ -1082,7 +1082,7 @@ public class VTabsheet extends VTabsheetBase implements Focusable,
@Override
public void onBlur(BlurEvent event) {
- if (focusedTab != null && event.getSource() instanceof Tab) {
+ if (focusedTab != null && focusedTab == event.getSource()) {
focusedTab = null;
if (client.hasEventListeners(this, EventId.BLUR)) {
client.updateVariable(id, EventId.BLUR, "", true);