Commit d192b349 authored by JC Brand's avatar JC Brand

onChatBoxFetched renamed to onChatBoxesFetched

parent 6eb08bd4
......@@ -62,7 +62,7 @@
},
ChatBoxes: {
onChatBoxFetched: function (collection, resp) {
onChatBoxesFetched: function (collection, resp) {
collection.each(function (chatbox) {
if (chatbox.get('id') !== 'controlbox' && !chatbox.get('minimized')) {
chatbox.trigger('show');
......
......@@ -2312,7 +2312,7 @@
}.bind(this), null, 'message', 'chat');
},
onChatBoxFetched: function (collection, resp) {
onChatBoxesFetched: function (collection, resp) {
/* Show chat boxes upon receiving them from sessionStorage
*
* This method gets overridden entirely in src/converse-controlbox.js
......@@ -2331,7 +2331,7 @@
this.registerMessageHandler();
this.fetch({
add: true,
success: this.onChatBoxFetched.bind(this)
success: this.onChatBoxesFetched.bind(this)
});
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment