This commit is contained in:
JC Brand 2013-03-22 08:47:43 +02:00
parent 26cc218ca4
commit 6f25bfefb8

View File

@ -782,24 +782,13 @@
});
xmppchat.SettingsPanel = Backbone.View.extend({
el: '#settings'
});
/*
xmppchat.ControlBox = xmppchat.ChatBox.extend({
initialize: function () {
this.set({
'box_id' : 'controlbox'
});
}
});
*/
xmppchat.ControlBoxView = xmppchat.ChatBoxView.extend({
// XXX: Options for the (still to be done) 'settings' tab:
// * Show offline users
// * Auto-open chatbox when a message was received.
el: '#settings'
});
xmppchat.ControlBoxView = xmppchat.ChatBoxView.extend({
tagName: 'div',
className: 'chatbox',
id: 'controlbox',
@ -2019,11 +2008,6 @@
password = $form.find('input#password').val(),
connection = new Strophe.Connection(bosh_service_url);
jid = 'opkode@jappix.com'
password = 'jpwagw00rd!'
bosh_service_url = 'https://bind.jappix.com'
connection = new Strophe.Connection(bosh_service_url);
connection.connect(jid, password, function (status) {
if (status === Strophe.Status.CONNECTED) {
console.log('Connected');