Bug fixes for group create flow
Fallout from layout change. // FREEBIE
This commit is contained in:
parent
39d13d5e45
commit
992dfa5b20
5 changed files with 12 additions and 21 deletions
|
@ -125,7 +125,8 @@
|
|||
type: 'group',
|
||||
name: name,
|
||||
avatar: avatarFile,
|
||||
members: members
|
||||
members: members,
|
||||
active_at: Date.now()
|
||||
};
|
||||
var group = new Whisper.Conversation(attributes);
|
||||
group.save().then(function() {
|
||||
|
@ -160,6 +161,7 @@
|
|||
|
||||
reset: function() {
|
||||
this.delegateEvents();
|
||||
this.avatarInput.delegateEvents();
|
||||
this.$create.hide();
|
||||
this.$('.new-group-update-form .name').val('');
|
||||
this.$group_update.hide();
|
||||
|
|
|
@ -159,6 +159,9 @@
|
|||
},
|
||||
|
||||
reset: function() {
|
||||
this.delegateEvents();
|
||||
this.typeahead_view.delegateEvents();
|
||||
this.recipients_view.delegateEvents();
|
||||
this.typeahead.add(
|
||||
this.recipients.filter(function(model) {
|
||||
return !model.get('newContact');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue