зеркало из https://github.com/mozilla/gecko-dev.git
Bug 361901: Save Page menuitem label missing from File menu when DM is open. Patch by Stefan Hermes <stefanh@bluebottle.com>, r=mnyromyr, sr=neil
This commit is contained in:
Родитель
7772dfd16e
Коммит
5bbe073d5f
|
@ -45,7 +45,21 @@
|
||||||
<script type="application/x-javascript" src="chrome://navigator/content/browser.js"/>
|
<script type="application/x-javascript" src="chrome://navigator/content/browser.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://navigator/content/navigator.js"/>
|
<script type="application/x-javascript" src="chrome://navigator/content/navigator.js"/>
|
||||||
|
|
||||||
<stringbundleset id="stringbundleset"/>
|
<script type="application/x-javascript">
|
||||||
|
<![CDATA[
|
||||||
|
function dmOverlayStartup() {
|
||||||
|
pref = Components.classes["@mozilla.org/preferences-service;1"]
|
||||||
|
.getService(Components.interfaces.nsIPrefService).getBranch(null);
|
||||||
|
gNavigatorBundle = document.getElementById("bundle_navigator");
|
||||||
|
}
|
||||||
|
|
||||||
|
addEventListener("load", dmOverlayStartup, false);
|
||||||
|
]]>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<stringbundleset id="stringbundleset">
|
||||||
|
<stringbundle id="bundle_navigator" src="chrome://navigator/locale/navigator.properties"/>
|
||||||
|
</stringbundleset>
|
||||||
|
|
||||||
<!-- keys are appended from the overlay -->
|
<!-- keys are appended from the overlay -->
|
||||||
<keyset id="tasksKeys">
|
<keyset id="tasksKeys">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче