Remove editorShell from editor dialogs. b=158881, r=brade, sr=alecf

git-svn-id: svn://10.0.0.236/trunk@133697 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com
2002-11-12 22:44:04 +00:00
parent f42124e4bb
commit 335fb3a1bb
9 changed files with 50 additions and 64 deletions

View File

@@ -29,7 +29,7 @@ var gActiveEditor;
// dialog initialization code
function Startup()
{
gActiveEditor = GetCurrentEditor();
gActiveEditor = GetCurrentTableEditor();
if (!gActiveEditor)
{
dump("Failed to get active editor!\n");
@@ -57,7 +57,7 @@ function Startup()
// Make a copy to use for AdvancedEdit
globalElement = gTableElement.cloneNode(false);
try {
if (GetPrefs().getBoolPref("editor.use_css") && isHTMLEditor()
if (GetPrefs().getBoolPref("editor.use_css") && IsHTMLEditor()
&& !(gActiveEditor.flags & Components.interfaces.nsIPlaintextEditor.eEditorMailMask))
{
// only for Composer and not for htmlmail