diff options
Diffstat (limited to 'lib/prompts.js')
-rw-r--r-- | lib/prompts.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/prompts.js b/lib/prompts.js index bb42c39..45f388a 100644 --- a/lib/prompts.js +++ b/lib/prompts.js @@ -4,7 +4,8 @@ // http://www.opensource.org/licenses/mit-license.php "use strict"; // ============================================================== -var {Cc,Ci} = require("chrome"); +var Cc = require("chrome").Cc; +var Ci = require("chrome").Ci; // just for JSLINT var Cc, Ci = {}; var promptTitle = "Bugzilla Triage Script"; @@ -106,7 +107,7 @@ exports.promptFileOpenPicker = function promptFilePicker (win) { if (res === Ci.nsIFilePicker.returnOK || res === Ci.nsIFilePicker.returnReplace ) { - return fp.file.path + return fp.file.path; } return null; }; |