X-Git-Url: http://cgit.babelmonkeys.de/?p=adhocweb.git;a=blobdiff_plain;f=js%2Fmain.js;h=a0800ad54ddecfbcd4d7f0ccff4c3c48a65fe641;hp=4cff25caf4b3a5e62fc7acbf1ae133f656cb383e;hb=eea26db826d1821aa4268fa8ccba484bff97a5bb;hpb=eab81f9e4afd38c8390745449865185e9637c830 diff --git a/js/main.js b/js/main.js index 4cff25c..a0800ad 100644 --- a/js/main.js +++ b/js/main.js @@ -41,6 +41,7 @@ function onConnect(status) { } else if (status == Strophe.Status.CONNECTED) { log('Strophe is connected.'); queryJID = connection.domain; + $('#queryJID').val(queryJID); $('#query').show(); checkFeatures(); } @@ -67,6 +68,7 @@ function addForm(elem, x) { var type = $(this).attr("type"); if($(this).attr("label")) { $("