Update changes
This commit is contained in:
parent
49fd8a7ecd
commit
7f4206e9b2
|
@ -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]
|
||||||
|
|
7
main.js
7
main.js
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user