Bug 808436 - [gcli] cmd refresh throws an exception, r=paul

This commit is contained in:
Girish Sharma 2012-11-07 22:54:22 +05:30
parent 27ed62d5ff
commit fa2fbfe3fd

View File

@ -124,6 +124,6 @@ gcli.addCommand({
get hidden() { return !prefBranch.prefHasUserValue(PREF_DIR); }, get hidden() { return !prefBranch.prefHasUserValue(PREF_DIR); },
exec: function Command_cmdRefresh(args, context) { exec: function Command_cmdRefresh(args, context) {
let chromeWindow = context.environment.chromeDocument.defaultView; let chromeWindow = context.environment.chromeDocument.defaultView;
GcliCommands.refreshAutoCommands(chromeWindow); CmdCommands.refreshAutoCommands(chromeWindow);
} }
}); });