Fixed bugs 6278, 9758, 17014, 17071, 17160. r=sfraser,mjudge
git-svn-id: svn://10.0.0.236/trunk@51910 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -488,7 +488,7 @@ nsHTMLEditorLog::SetBodyAttribute(const nsString& aAttr, const nsString& aValue)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLEditorLog::InsertList(const nsString& aListType)
|
||||
nsHTMLEditorLog::MakeOrChangeList(const nsString& aListType)
|
||||
{
|
||||
nsAutoHTMLEditorLogLock logLock(this);
|
||||
|
||||
@@ -496,13 +496,13 @@ nsHTMLEditorLog::InsertList(const nsString& aListType)
|
||||
{
|
||||
PrintSelection();
|
||||
|
||||
Write("window.editorShell.InsertList(\"");
|
||||
Write("window.editorShell.MakeOrChangeList(\"");
|
||||
PrintUnicode(aListType);
|
||||
Write("\");\n");
|
||||
Flush();
|
||||
}
|
||||
|
||||
return nsHTMLEditor::InsertList(aListType);
|
||||
return nsHTMLEditor::MakeOrChangeList(aListType);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user