bug 224160: hook up Print Preview to view source.

git-svn-id: svn://10.0.0.236/trunk@148545 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
chanial%noos.fr
2003-10-30 06:02:54 +00:00
parent 3984958139
commit c76a54433c
7 changed files with 38 additions and 7 deletions

View File

@@ -233,6 +233,18 @@ function ViewSourceSavePage()
saveURL(window.content.location.href.substring(12), null, "SaveLinkTitle");
}
function onEnterPP()
{
var toolbox = document.getElementById("viewSource-toolbox");
toolbox.hidden = true;
}
function onExitPP()
{
var toolbox = document.getElementById("viewSource-toolbox");
toolbox.hidden = false;
}
function ViewSourceGoToLine()
{
var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]