Commit 26cd567c authored by JC Brand's avatar JC Brand

bookmarks: only emit once the view has been created.

parent e49fbc45
......@@ -487,8 +487,8 @@
_converse.bookmarksview = new _converse.BookmarksView(
{'model': _converse.bookmarks}
);
_converse.emit('bookmarksInitialized');
});
_converse.emit('bookmarksInitialized');
};
$.when(_converse.api.waitUntil('chatBoxesFetched'),
_converse.api.waitUntil('roomsPanelRendered')).then(initBookmarks);
......
......@@ -36,9 +36,6 @@
defaults: {
"toggle-state": _converse.OPENED
},
initialize: function () {
}
});
_converse.RoomsListView = Backbone.View.extend({
......
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