aboutsummaryrefslogtreecommitdiff
path: root/chrome/js
diff options
context:
space:
mode:
authorNoah Luck Easterly2012-03-29 17:54:44 -0400
committerNoah Luck Easterly2012-03-29 17:54:44 -0400
commit140f285bb0d2d3fffbb012d69cc02be23e9c5743 (patch)
tree01582f284c6c1f247235fb1a36fa7d5c4efdf1f9 /chrome/js
parent211b9c04f45b30992b9c8d976a6ff594bbd291f3 (diff)
fixing bug that caused exports not to be saved in FF10
Diffstat (limited to 'chrome/js')
-rw-r--r--chrome/js/redirector-ui.js4
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;
}