зеркало из https://github.com/mozilla/pjs.git
Updating the help patch (which was pulled from the branch) to the $!@#'ing xul syntax changes. r=hewitt sr=hyatt
This commit is contained in:
Родитель
96c56b1e54
Коммит
8b947af93f
|
@ -229,12 +229,12 @@ function print()
|
|||
|
||||
function createBackMenu(event)
|
||||
{
|
||||
FillHistoryMenu(event.target, "back");
|
||||
return FillHistoryMenu(event.target, "back");
|
||||
}
|
||||
|
||||
function createForwardMenu(event)
|
||||
{
|
||||
FillHistoryMenu(event.target, "forward");
|
||||
return FillHistoryMenu(event.target, "forward");
|
||||
}
|
||||
|
||||
function gotoHistoryIndex(aEvent)
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/nsJSSupportsUtils.js"/>
|
||||
|
||||
<popupset id="aTooltipSet">
|
||||
<popup id="backMenu" oncreate="createBackMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
||||
<popup id="forwardMenu" oncreate="createForwardMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
||||
<popup id="backMenu" position="after_start" onpopupshowing="return createBackMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
||||
<popup id="forwardMenu" position="after_start" onpopupshowing="return createForwardMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
||||
</popupset>
|
||||
<popupset id="contentAreaContextSet"/>
|
||||
<broadcasterset id="helpBroadcasters">
|
||||
|
@ -94,12 +94,12 @@
|
|||
<menubutton id="helpBackButton" label="&backBtn.label;" tooltiptext="&backButton.tooltip;"
|
||||
oncommand="gotoHistoryIndex(event);" buttonaction="goBack();" context="backMenu"
|
||||
class="menubutton-dual top" crop="right" tooltip="aTooltip" observes="canGoBack">
|
||||
<menupopup context="" oncreate="createBackMenu(event);"/>
|
||||
<menupopup context="" onpopupshowing="createBackMenu(event);"/>
|
||||
</menubutton>
|
||||
<menubutton id="helpForwardButton" label="&fwdBtn.label;" tooltiptext="&forwardButton.tooltip;"
|
||||
oncommand="gotoHistoryIndex(event);" buttonaction="goForward();" context="forwardMenu"
|
||||
class="menubutton-dual top" crop="right" tooltip="aTooltip" observes="canGoForward">
|
||||
<menupopup context="" oncreate="createForwardMenu(event);"/>
|
||||
<menupopup context="" onpopupshowing="createForwardMenu(event);"/>
|
||||
</menubutton>
|
||||
<button id="helpHomeButton"
|
||||
class="button-toolbar-1 top"
|
||||
|
|
Загрузка…
Ссылка в новой задаче