summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuho Nurminen <juho@vaadin.com>2013-12-04 15:13:48 +0200
committerJuho Nurminen <juho@vaadin.com>2013-12-04 15:25:56 +0200
commit401fa5c940d9b55a4f0b3f96db5990d57271fe82 (patch)
tree34a806bae3725efca5d32056765cf2aa589edc62
parentd45785d6763f269b4e00460ace07ab47c712b5ca (diff)
downloadvaadin-framework-401fa5c940d9b55a4f0b3f96db5990d57271fe82.tar.gz
vaadin-framework-401fa5c940d9b55a4f0b3f96db5990d57271fe82.zip
Don't send TabSheet focus and blur events to the server when moving the focus from one tab to another (#12971)
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 1275308ed7..a930ac5b58 100644
--- a/client/src/com/vaadin/client/ui/VTabsheet.java
+++ b/client/src/com/vaadin/client/ui/VTabsheet.java
@@ -1087,7 +1087,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);