fix multi-line common dialogs by using <html> tag

git-svn-id: svn://10.0.0.236/trunk@69454 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com 2000-05-12 21:32:18 +00:00
parent 5677d717fd
commit 7b406feb34

View File

@ -58,9 +58,10 @@ function commonDialogOnLoad()
done = true;
messageFragment = messageText;
}
var textnode = document.createElement("text");
textnode.setAttribute("value", messageFragment);
messageParent.appendChild(textnode);
var textnode = document.createTextNode(messageFragment);
var htmlnode = document.createElement("html");
htmlnode.appendChild(textnode);
messageParent.appendChild(htmlnode);
}
}
var msg = param.GetString( 3 );