зеркало из https://github.com/mozilla/gecko-dev.git
83017: Fix title of the page info window. Fix from Daniel Brooks db48x@yahoo.com, sr=alecf, a=asa
This commit is contained in:
Родитель
136971fec0
Коммит
95c44e5d56
|
@ -457,7 +457,8 @@ function BrowserReloadWithFlags(reloadFlags)
|
|||
catch(ex) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// doc=null for regular page info, doc=owner document for frame info
|
||||
function BrowserPageInfo(doc)
|
||||
{
|
||||
window.openDialog("chrome://navigator/content/pageInfo.xul",
|
||||
|
|
|
@ -1057,7 +1057,7 @@ function BrowserViewSourceOfURL(url, charset)
|
|||
url, charset);
|
||||
}
|
||||
|
||||
// doc=owner document.
|
||||
// doc=null for regular page info, doc=owner document for frame info.
|
||||
function BrowserPageInfo(doc)
|
||||
{
|
||||
window.openDialog("chrome://navigator/content/pageInfo.xul",
|
||||
|
|
|
@ -134,7 +134,7 @@
|
|||
|
||||
<!-- View Menu -->
|
||||
<command id="View:PageSource" oncommand="BrowserViewSource();"/>
|
||||
<command id="View:PageInfo" oncommand="BrowserPageInfo(getBrowser().contentDocument);"/>
|
||||
<command id="View:PageInfo" oncommand="BrowserPageInfo();"/>
|
||||
<command id="View:FullScreen" oncommand="BrowserFullScreen();"/>
|
||||
|
||||
<!-- Search Menu -->
|
||||
|
|
|
@ -473,7 +473,7 @@ nsContextMenu.prototype = {
|
|||
"charset=" + this.target.ownerDocument.characterSet);
|
||||
},
|
||||
viewInfo : function () {
|
||||
BrowserPageInfo(this.target.ownerDocument);
|
||||
BrowserPageInfo();
|
||||
},
|
||||
viewFrameInfo : function () {
|
||||
BrowserPageInfo(this.target.ownerDocument);
|
||||
|
|
Загрузка…
Ссылка в новой задаче