зеркало из https://github.com/mozilla/pjs.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:
Родитель
1f6d057752
Коммит
ba52e516dc
|
@ -45,7 +45,21 @@
|
|||
<script type="application/x-javascript" src="chrome://navigator/content/browser.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 -->
|
||||
<keyset id="tasksKeys">
|
||||
|
|
Загрузка…
Ссылка в новой задаче