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
----------------
- Further performance enhancements and general script cleanup, see pull request
6 for details [ichim-david]
- Concieved and created [jcbrand]
- Performance enhancements for rosters [ichim-david]
- Add vCard support [jcbrand]
- Performance enhancements and general script cleanup [ichim-david]
- Add "Connecting to chat..." info [alecghica]
- Concieved and created [jcbrand]

View File

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