diff options
author | Kris Maglione <maglione.k@gmail.com> | 2008-12-11 15:22:01 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2008-12-11 15:22:01 -0500 |
commit | 0f330b3a153fbc525610b293e421267bc74ed9eb (patch) | |
tree | 07790b092441618f33a1dd60a859344153c4cdb1 /common/content/ui.js | |
parent | 016770bf7d4ef0659eac61b90b186ee08492fd2c (diff) | |
download | pentadactyl-0f330b3a153fbc525610b293e421267bc74ed9eb.tar.gz |
Fix :echo undefined
Diffstat (limited to 'common/content/ui.js')
-rw-r--r-- | common/content/ui.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/content/ui.js b/common/content/ui.js index 5a8cf656..1c000ade 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -631,6 +631,8 @@ function CommandLine() //{{{ arg = util.objectToString(arg, useColor); else if (typeof arg == "string" && /\n/.test(arg)) arg = <span highlight="CmdOutput">{arg}</span>; + else + arg = String(arg); return arg; } |