Bugfix in jquery element query
This commit is contained in:
parent
0b1900ecb1
commit
8293bd0da5
@ -2672,7 +2672,7 @@
|
|||||||
// This is the end of the initialize method.
|
// This is the end of the initialize method.
|
||||||
this.chatboxes = new this.ChatBoxes();
|
this.chatboxes = new this.ChatBoxes();
|
||||||
this.chatboxesview = new this.ChatBoxesView({model: this.chatboxes});
|
this.chatboxesview = new this.ChatBoxesView({model: this.chatboxes});
|
||||||
$('toggle-online-users').bind(
|
$('.toggle-online-users').bind(
|
||||||
'click',
|
'click',
|
||||||
$.proxy(function (e) {
|
$.proxy(function (e) {
|
||||||
e.preventDefault(); this.toggleControlBox();
|
e.preventDefault(); this.toggleControlBox();
|
||||||
|
@ -147,7 +147,7 @@
|
|||||||
expect(converse.connection.muc.removeRoom).toHaveBeenCalled();
|
expect(converse.connection.muc.removeRoom).toHaveBeenCalled();
|
||||||
expect(view.renderPasswordForm).toHaveBeenCalled();
|
expect(view.renderPasswordForm).toHaveBeenCalled();
|
||||||
expect($chat_body.find('form.chatroom-form').length).toBe(1);
|
expect($chat_body.find('form.chatroom-form').length).toBe(1);
|
||||||
expect($chat_body.find('legend').text()).toBe('This chat room requires a password');
|
expect($chat_body.find('legend').text()).toBe('This chatroom requires a password');
|
||||||
});
|
});
|
||||||
}, converse));
|
}, converse));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user