diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/content/bookmarks.js | 2 | ||||
-rw-r--r-- | common/modules/commands.jsm | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js index d49016c5..f6b25df6 100644 --- a/common/content/bookmarks.js +++ b/common/content/bookmarks.js @@ -546,7 +546,7 @@ var Bookmarks = Module("bookmarks", { if (bmark.post) options["-post"] = bmark.post; if (bmark.tags.length > 0) - options["-tags"] = bmark.tags.join(", "); + options["-tags"] = bmark.tags; } else { if (buffer.title != buffer.uri.spec) diff --git a/common/modules/commands.jsm b/common/modules/commands.jsm index 87fdcb56..4828e978 100644 --- a/common/modules/commands.jsm +++ b/common/modules/commands.jsm @@ -710,7 +710,9 @@ var Commands = Module("commands", { if (val != null && defaults[opt] === val) continue; let chr = /^-.$/.test(opt) ? " " : "="; - if (val != null) + if (isArray(val)) + opt += chr + Option.stringify.stringlist(val); + else if (val != null) opt += chr + Commands.quote(val); res.push(opt); } |