diff options
author | Noah Luck Easterly | 2012-03-29 17:54:44 -0400 |
---|---|---|
committer | Noah Luck Easterly | 2012-03-29 17:54:44 -0400 |
commit | 140f285bb0d2d3fffbb012d69cc02be23e9c5743 (patch) | |
tree | 01582f284c6c1f247235fb1a36fa7d5c4efdf1f9 /chrome | |
parent | 211b9c04f45b30992b9c8d976a6ff594bbd291f3 (diff) |
fixing bug that caused exports not to be saved in FF10
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/js/redirector-ui.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/js/redirector-ui.js b/chrome/js/redirector-ui.js index bd709cc..2cd548a 100644 --- a/chrome/js/redirector-ui.js +++ b/chrome/js/redirector-ui.js @@ -79,7 +79,9 @@ function getFile(captionKey, mode) { if (picker.show() == picker.returnCancel) { return null; } - prefs.defaultDir = picker.displayDirectory.path; + if (picker.displayDirectory) { + prefs.defaultDir = picker.displayDirectory.path; + } return picker.file; } |