From: Florian Zeitz Date: Thu, 9 Sep 2010 20:30:38 +0000 (+0200) Subject: Put initial queried JID in the query form X-Git-Url: https://cgit.babelmonkeys.de/?a=commitdiff_plain;h=eea26db826d1821aa4268fa8ccba484bff97a5bb;p=adhocweb.git Put initial queried JID in the query form --- diff --git a/js/main.js b/js/main.js index 1bb3a45..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(); }