Remove unused nsNewEditorCommand, b=106728, r=hewitt, sr=kin

This commit is contained in:
cmanske%netscape.com 2001-10-30 23:49:33 +00:00
Родитель 4407e25bb0
Коммит a92530ea14
1 изменённых файлов: 0 добавлений и 15 удалений

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

@ -163,7 +163,6 @@ function SetupComposerWindowCommands()
}
// File-related commands
commandManager.registerCommand("cmd_newEditor", nsNewEditorCommand);
commandManager.registerCommand("cmd_open", nsOpenCommand);
commandManager.registerCommand("cmd_save", nsSaveCommand);
commandManager.registerCommand("cmd_saveAs", nsSaveAsCommand);
@ -488,20 +487,6 @@ function CloseWindow()
}
}
//-----------------------------------------------------------------------------------
var nsNewEditorCommand =
{
isCommandEnabled: function(aCommand, dummy)
{
return true; // we can always do this
},
doCommand: function(aCommand)
{
NewEditorWindow();
}
};
//-----------------------------------------------------------------------------------
var nsOpenRemoteCommand =
{