X-Git-Url: http://cgit.babelmonkeys.de/?p=adhocweb.git;a=blobdiff_plain;f=js%2Fmain.js;h=6bd32412743739166210a6cc07f5d3c9e3df1a29;hp=1011dc87e58a9f4361130410e82282db34bb12c2;hb=e5d4fe480e02907b80e91d9ed42854700c5866c1;hpb=7b4f5c83f5892fe3ca742f0c61e311cc385bd641 diff --git a/js/main.js b/js/main.js index 1011dc8..6bd3241 100644 --- a/js/main.js +++ b/js/main.js @@ -51,6 +51,7 @@ function addNote(elem, text, type) { if (!type) { type = "info"; } + text = text.replace(/\n/g, "
"); $(elem).append("

" + text + "

"); } @@ -87,7 +88,7 @@ function addForm(elem, x) { item = $("").attr("readonly",true); break; case "jid-multi": - item = $("