Don't pass "null" strings in from JavaScript.
git-svn-id: svn://10.0.0.236/trunk@35502 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e12a8361e4
commit
47b1e6f67f
@ -252,13 +252,13 @@ function EditorSetBackgroundColor(color)
|
||||
function EditorApplyStyle(styleName)
|
||||
{
|
||||
dump("applying style\n");
|
||||
window.editorShell.SetTextProperty(styleName, null, null);
|
||||
window.editorShell.SetTextProperty(styleName, "", "");
|
||||
contentWindow.focus();
|
||||
}
|
||||
|
||||
function EditorRemoveStyle(styleName)
|
||||
{
|
||||
window.editorShell.RemoveTextProperty(styleName, null);
|
||||
window.editorShell.RemoveTextProperty(styleName, "");
|
||||
contentWindow.focus();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user