Changeset 6228d899 in vaadin


Ignore:
Timestamp:
03/21/12 13:28:19 (2 years ago)
Author:
Artur Signell <artur@…>
Branches:
master, 7.0, 7.1, 7.2
Children:
a4798ac1
Parents:
5efc84209
git-author:
Artur Signell <artur@…> (03/21/12 12:35:45)
git-committer:
Artur Signell <artur@…> (03/21/12 13:28:19)
Message:

Ensure the widget in the selected tab is always visible after a server visit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/com/vaadin/terminal/gwt/client/ui/VTabsheetPanel.java

    rc2722bfe r6228d899  
    142142            } 
    143143            visibleWidget = newVisible; 
    144             unHide(DOM.getParent(visibleWidget.getElement())); 
    145         } 
     144        } 
     145        // Always ensure the selected tab is visible. If server prevents a tab 
     146        // change we might end up here with visibleWidget == newVisible but its 
     147        // parent is still hidden. 
     148        unHide(DOM.getParent(visibleWidget.getElement())); 
    146149    } 
    147150 
Note: See TracChangeset for help on using the changeset viewer.