diff options
author | Juho Nurminen <juho@vaadin.com> | 2013-12-04 15:13:48 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-12-04 15:29:00 +0200 |
commit | 614dc5e96a0e5bc77271887409589bef14d79f5f (patch) | |
tree | 51f17c1c2896bc3e607bfade729408bc010c4bdc | |
parent | ad4a639bb96944eddde9d54eff6f52321269922b (diff) | |
download | vaadin-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.java | 2 |
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); |