]> source.dussan.org Git - vaadin-framework.git/commitdiff
Merge commit '401fa5c940d9b55a4f0b3f96db5990d57271fe82'
authorJuho Nurminen <juho@vaadin.com>
Fri, 7 Feb 2014 13:41:52 +0000 (15:41 +0200)
committerJuho Nurminen <juho@vaadin.com>
Fri, 7 Feb 2014 13:41:52 +0000 (15:41 +0200)
* commit '401fa5c940d9b55a4f0b3f96db5990d57271fe82':
  Don't send TabSheet focus and blur events to the server when moving the focus from one tab to another (#12971)

Conflicts:
client/src/com/vaadin/client/ui/VTabsheet.java

Change-Id: Ide3fc02d0beab8a0112a1e18ee417d0ec5097bb4

1  2 
client/src/com/vaadin/client/ui/VTabsheet.java

index cc66642cdd4361d939fcb13db81f4dde3f267fd6,a930ac5b58b4fc62c176b4de3ecf1ad92f0bf49f..8f53f60145217add9cdcd7a6fdc62174c75f675e
@@@ -1194,10 -1087,7 +1194,10 @@@ public class VTabsheet extends VTabshee
  
      @Override
      public void onBlur(BlurEvent event) {
-         if (focusedTab != null && event.getSource() instanceof Tab) {
 +        getApplicationConnection().getVTooltip().hideTooltip();
 +
+         if (focusedTab != null && focusedTab == event.getSource()) {
 +            focusedTab.removeAssistiveDescription();
              focusedTab = null;
              if (client.hasEventListeners(this, EventId.BLUR)) {
                  client.updateVariable(id, EventId.BLUR, "", true);