128903: fix a couple of GetHighlightColors I missed. Fix thanks to glazman, r=brade (and myself), sr=kin, a=dbaron

This commit is contained in:
akkana%netscape.com 2002-03-16 04:40:42 +00:00
Родитель 04dbabbe71
Коммит d1b54d2268
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -108,7 +108,7 @@ nsButtonPrefListener.prototype =
var htmlEditor = editorShell.editor.QueryInterface(Components.interfaces.nsIHTMLEditor);
if (useCSS && htmlEditor) {
button.removeAttribute("disabled");
var state = htmlEditor.GetHighlightColor(mixedObj);
var state = htmlEditor.getHighlightColorState(mixedObj);
button.setAttribute("state", state);
}
else {
@ -127,7 +127,7 @@ function AfterHighlightColorChange()
var button = document.getElementById("cmd_highlight");
var mixedObj = new Object();
if (button) {
var state = editorShell.editor.QueryInterface(Components.interfaces.nsIHTMLEditor).GetHighlightColor(mixedObj);
var state = editorShell.editor.QueryInterface(Components.interfaces.nsIHTMLEditor).getHighlightColorState(mixedObj);
button.setAttribute("state", state);
onHighlightColorChange();
}