mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 02:09:28 +00:00
NOT PART OF THE BUILD
Update navigation buttons when a tab is selected
This commit is contained in:
parent
37fb0d24fe
commit
1cb9c02384
@ -59,7 +59,7 @@
|
||||
<xul:hbox class="tabbrowser-strip chromeclass-toolbar">
|
||||
|
||||
<xul:tabs flex="1" class="tabbrowser-tabs" anonid="EditorTabs" closebutton="true"
|
||||
setfocus="false"/>
|
||||
setfocus="false" onselect="onTabSelected(event)"/>
|
||||
</xul:hbox>
|
||||
<xul:tabpanels anonid="EditorTabpanels" selectedIndex="0" flex="1"
|
||||
style="border: red solid thick; background-color: gray ! important"/>
|
||||
@ -334,6 +334,15 @@
|
||||
</body>
|
||||
</method>
|
||||
|
||||
<method name="onTabSelected">
|
||||
<parameter name="aEvent"/>
|
||||
<body>
|
||||
<![CDATA[
|
||||
window.updateCommands("navigation");
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
||||
</implementation>
|
||||
|
||||
</binding>
|
||||
|
Loading…
x
Reference in New Issue
Block a user