]> git.babelmonkeys.de Git - adhocweb.git/commitdiff
Put initial queried JID in the query form
authorFlorian Zeitz <florob@babelmonkeys.de>
Thu, 9 Sep 2010 20:30:38 +0000 (22:30 +0200)
committerFlorian Zeitz <florob@babelmonkeys.de>
Thu, 9 Sep 2010 20:30:38 +0000 (22:30 +0200)
js/main.js

index 1bb3a459cee1c76a32db2d64f4ffd08b5c47ff7f..a0800ad54ddecfbcd4d7f0ccff4c3c48a65fe641 100644 (file)
@@ -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();
     }