summaryrefslogtreecommitdiffstats
path: root/toolkit/components/prompts/content/selectDialog.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--toolkit/components/prompts/content/selectDialog.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/components/prompts/content/selectDialog.js b/toolkit/components/prompts/content/selectDialog.js
index 86809bc879..30d7de5c69 100644
--- a/toolkit/components/prompts/content/selectDialog.js
+++ b/toolkit/components/prompts/content/selectDialog.js
@@ -30,7 +30,8 @@ function onDCL() {
document.title = propBag.getProperty("title");
let text = propBag.getProperty("text");
- document.getElementById("info.txt").setAttribute("value", text);
+ let element = document.getElementById("info.txt");
+ element.appendChild(document.createTextNode(text));
let items = propBag.getProperty("list");
listBox = document.getElementById("list");