Permalink
Browse files

fixing bug that caused exports not to be saved in FF10

  • Loading branch information...
1 parent 211b9c0 commit 140f285bb0d2d3fffbb012d69cc02be23e9c5743 @rampion committed Mar 29, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 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;
}

0 comments on commit 140f285

Please sign in to comment.