Fixed Doc title in Revert dialog message bug=96073, r=brade, sr=kin; Composer part of 'noshade' syntax bug 88761, r=kin, sr=sfraser

This commit is contained in:
cmanske%netscape.com 2001-08-21 13:45:01 +00:00
Родитель d5008db8dd
Коммит 9c70463ead
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -422,9 +422,9 @@ var nsRevertCommand =
var result = {value:0};
// Put the page title in the message string
var title = window.editorShell.editorDocument.title;
if (!title || title.length == 0)
title = window.editorShell.GetTitle("untitled");
var title = window.editorShell.GetDocumentTitle();
if (!title)
title = window.editorShell.GetString("untitled");
var msg = window.editorShell.GetString("AbandonChanges").replace(/%title%/,title);
@ -836,7 +836,7 @@ var nsHLineCommand =
if (shading) {
hLine.removeAttribute("noshade");
} else {
hLine.setAttribute("noshade", "");
hLine.setAttribute("noshade", "noshade");
}
}
catch (ex) {