Bug 264102 Chrome should use document.title instead of window.title - editor fixes (without EdColorPicker.js changes as these will be fixed in the patch to bug 260217)
p=me r=daniel sr=neil.parkwaycc.co.uk git-svn-id: svn://10.0.0.236/trunk@164314 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2037,8 +2037,8 @@ function UpdateWindowTitle()
|
||||
}
|
||||
// Set window title with " - Composer" appended
|
||||
var xulWin = document.documentElement;
|
||||
window.title = windowTitle + xulWin.getAttribute("titlemenuseparator") +
|
||||
xulWin.getAttribute("titlemodifier");
|
||||
document.title = windowTitle + xulWin.getAttribute("titlemenuseparator") +
|
||||
xulWin.getAttribute("titlemodifier");
|
||||
} catch (e) { dump(e); }
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ function Startup()
|
||||
var title = GetDocumentTitle();
|
||||
if (!title)
|
||||
title = "("+GetString("untitled")+")";
|
||||
window.title = GetString("PublishProgressCaption").replace(/%title%/, title);
|
||||
document.title = GetString("PublishProgressCaption").replace(/%title%/, title);
|
||||
|
||||
document.getElementById("PublishToSite").value =
|
||||
GetString("PublishToSite").replace(/%title%/, TruncateStringAtWordEnd(gPublishData.siteName, 25));
|
||||
|
||||
Reference in New Issue
Block a user