bug 371367 - Use entered title in print output. Patch by Stefan Sitter <ssitter@googlemail.com>, r=lilmatt

git-svn-id: svn://10.0.0.236/trunk@222423 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mattwillis%gmail.com
2007-03-26 20:19:21 +00:00
parent 4d9ed43f38
commit b4ed590615

View File

@@ -208,7 +208,9 @@ function refreshHtml(finishFunc)
dump("printDialog::refreshHtml:" + e + "\n");
Components.utils.reportError(e);
}
document.getElementById('content').contentDocument.documentElement.innerHTML = html;
var iframeDoc = document.getElementById("content").contentDocument;
iframeDoc.documentElement.innerHTML = html;
iframeDoc.title = settings.title;
if (finishFunc) {
finishFunc();