Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@ -74,6 +74,20 @@
OCA.SpreedMe.Views.ParticipantView = Marionette.CollectionView.extend({
tagName: 'ul',
className: 'participantWithList',
collectionEvents: {
'update': function() {
this.render();
},
'reset': function() {
'sort': function() {
'sync': function() {
}
childView: Marionette.View.extend({
tagName: 'li',
modelEvents: {
@ -186,7 +186,6 @@
OCA.SpreedMe.app._participants.setRoom(this.model);
OCA.SpreedMe.app._participants.fetch();
OCA.SpreedMe.app._participantsView.render();
if (!$content.hasClass('with-app-sidebar')) {
$content.addClass('with-app-sidebar');