Changeset 15017


Ignore:
Timestamp:
03/03/10 16:42:51 (2 years ago)
Author:
sam
Message:

selected tab always visible

Location:
trunk/Xul_Core/content/scenariCore/widgets/matrix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Core/content/scenariCore/widgets/matrix/matrix.xbl.xml

    r15015 r15017  
    329329                                                        vBeforeSelected = false; 
    330330                                                        if (vIsTabFocused) window.setTimeout(function(pTab){pTab.focus();}, 0, vTab); 
     331                                                        if (this.fTabsBar) this.fTabsBar.ensureElementIsVisible(vTab); 
    331332                                                } else { 
    332333                                                        vClasses.push(vBeforeSelected ? "beforeSelected" : "afterSelected" ); 
  • trunk/Xul_Core/content/scenariCore/widgets/matrix/slotContents.xbl.xml

    r15015 r15017  
    126126                    </children> 
    127127                </content> 
    128                 <xbl:implementation> 
     128                <implementation> 
    129129                        <field name="fOptionMnu">document.getAnonymousElementByAttribute(this, "anonid", "optionMnu")</field> 
    130130                        <method name="showOptionMnu"> 
     
    136136                                ]]></body> 
    137137                        </method> 
    138                 </xbl:implementation> 
     138                </implementation> 
    139139        </binding> 
    140140</bindings> 
Note: See TracChangeset for help on using the changeset viewer.