Skip to content

Commit

Permalink
fixing bug that caused exports not to be saved in FF10
Browse files Browse the repository at this point in the history
  • Loading branch information
rampion committed Mar 29, 2012
1 parent 211b9c0 commit 140f285
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chrome/js/redirector-ui.js
Expand Up @@ -79,7 +79,9 @@ function getFile(captionKey, mode) {
if (picker.show() == picker.returnCancel) { if (picker.show() == picker.returnCancel) {
return null; return null;
} }
prefs.defaultDir = picker.displayDirectory.path; if (picker.displayDirectory) {
prefs.defaultDir = picker.displayDirectory.path;
}
return picker.file; return picker.file;
} }


Expand Down

0 comments on commit 140f285

Please sign in to comment.