mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Part of fix to bug 170522 (remove unused code), r=akkana, sr=alecf, a=asa
This commit is contained in:
parent
b2b5ce1025
commit
dc2136ab99
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user