summaryrefslogtreecommitdiffstats
path: root/devtools/shared/gcli/commands/cmd.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-01 13:57:10 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-01 13:57:10 +0100
commit0535b0bb38dacf7dab31fd757a91ca9928292693 (patch)
treed1a41ca6d45d40c8ccaded4a2868b527fe029895 /devtools/shared/gcli/commands/cmd.js
parentcaebf13372415e59bd36c49fbee934e25ec46a32 (diff)
downloadUXP-0535b0bb38dacf7dab31fd757a91ca9928292693.tar
UXP-0535b0bb38dacf7dab31fd757a91ca9928292693.tar.gz
UXP-0535b0bb38dacf7dab31fd757a91ca9928292693.tar.lz
UXP-0535b0bb38dacf7dab31fd757a91ca9928292693.tar.xz
UXP-0535b0bb38dacf7dab31fd757a91ca9928292693.zip
Fix "help cmd" and "cmd refresh" in the Developer Toolbar
https://github.com/MoonchildProductions/moebius/pull/348
Diffstat (limited to 'devtools/shared/gcli/commands/cmd.js')
-rw-r--r--devtools/shared/gcli/commands/cmd.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/devtools/shared/gcli/commands/cmd.js b/devtools/shared/gcli/commands/cmd.js
index 1777ed960..1b3cb2ecb 100644
--- a/devtools/shared/gcli/commands/cmd.js
+++ b/devtools/shared/gcli/commands/cmd.js
@@ -137,8 +137,6 @@ exports.items = [
return !prefBranch.prefHasUserValue(PREF_DIR);
},
exec: function(args, context) {
- gcli.load();
-
let dirName = prefBranch.getComplexValue(PREF_DIR,
Ci.nsISupportsString).data.trim();
return l10n.lookupFormat("cmdStatus3", [ dirName ]);
@@ -170,8 +168,6 @@ exports.items = [
supportsString.data = args.directory;
prefBranch.setComplexValue(PREF_DIR, Ci.nsISupportsString, supportsString);
- gcli.load();
-
return l10n.lookupFormat("cmdStatus3", [ args.directory ]);
}
}