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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user