aboutsummaryrefslogtreecommitdiff
path: root/chrome
diff options
context:
space:
mode:
authorNoah Luck Easterly2012-03-29 18:02:00 -0400
committerNoah Luck Easterly2012-03-29 18:02:00 -0400
commitffc38e7b522ab874c67722b2b5327cefc0c58a21 (patch)
treed258dbb19093f85512df99ae3cdc7e23b82ff5eb /chrome
parent140f285bb0d2d3fffbb012d69cc02be23e9c5743 (diff)
add default name (w/ ext) since not all OSes automatically append ext and this shows the user the ext is necessary
Diffstat (limited to 'chrome')
-rw-r--r--chrome/js/redirector-ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/js/redirector-ui.js b/chrome/js/redirector-ui.js
index 2cd548a..49526e3 100644
--- a/chrome/js/redirector-ui.js
+++ b/chrome/js/redirector-ui.js
@@ -70,6 +70,7 @@ function trPlural(name, count) {
function getFile(captionKey, mode) {
var picker = new FilePicker(window, tr(captionKey), mode);
picker.defaultExtension = ".rjson";
+ picker.defaultString = "Redirector.rjson";
var dir = prefs.defaultDir;
if (dir) {
picker.displayDirectory = new LocalFile(dir);