Part of fix to bug 170522 (remove unused code), r=akkana, sr=alecf, a=asa

This commit is contained in:
cmanske%netscape.com 2002-12-05 21:59:59 +00:00
parent b2b5ce1025
commit dc2136ab99

View File

@ -109,7 +109,6 @@ function SetupHTMLEditorCommands()
commandManager.registerCommand("cmd_TableOrCellColor", nsTableOrCellColorCommand);
commandManager.registerCommand("cmd_NormalizeTable", nsNormalizeTableCommand);
commandManager.registerCommand("cmd_smiley", nsSetSmiley);
commandManager.registerCommand("cmd_buildRecentPagesMenu", nsBuildRecentPagesMenu);
commandManager.registerCommand("cmd_ConvertToTable", nsConvertToTable);
}
@ -3817,24 +3816,6 @@ var nsCancelHTMLSource =
}
};
var nsBuildRecentPagesMenu =
{
isCommandEnabled: function(aCommand, dummy)
{
return true;
},
getCommandStateParams: function(aCommand, aParams, aRefCon) {},
doCommandParams: function(aCommand, aParams, aRefCon) {},
doCommand: function(aCommand)
{
// From editor.js, rebuild the menu and save to prefs
BuildRecentMenu();
SaveRecentFilesPrefs();
}
};
var nsConvertToTable =
{
isCommandEnabled: function(aCommand, dummy)