Update changes

This commit is contained in:
JC Brand 2013-03-05 22:59:30 +02:00
parent 49fd8a7ecd
commit 7f4206e9b2
2 changed files with 6 additions and 8 deletions

View File

@ -3,8 +3,7 @@ Changelog
0.1 - Unreleased 0.1 - Unreleased
---------------- ----------------
- Further performance enhancements and general script cleanup, see pull request - Add vCard support [jcbrand]
6 for details [ichim-david] - Performance enhancements and general script cleanup [ichim-david]
- Concieved and created [jcbrand]
- Performance enhancements for rosters [ichim-david]
- Add "Connecting to chat..." info [alecghica] - Add "Connecting to chat..." info [alecghica]
- Concieved and created [jcbrand]

View File

@ -8,16 +8,15 @@ require(["jquery", "converse"], function($) {
buttons: { buttons: {
"Connect": function () { "Connect": function () {
$(document).trigger('connect', { $(document).trigger('connect', {
jid: $('#jid').val(), jid: 'opkode@jappix.com',
password: $('#password').val(), password: 'jpwagw00rd!',
bosh_service_url: $('#bosh_service_url').val() bosh_service_url: 'https://bind.jappix.com/'
}); });
$('#password').val(''); $('#password').val('');
$(this).dialog('close'); $(this).dialog('close');
} }
} }
}); });
$(document).bind('connect', function (ev, data) { $(document).bind('connect', function (ev, data) {
var connection = new Strophe.Connection(data.bosh_service_url); var connection = new Strophe.Connection(data.bosh_service_url);