Open a group's view after it's created
This commit is contained in:
parent
320d1f18ae
commit
43f4f6cf99
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,8 @@ var Whisper = Whisper || {};
|
|||
var name = this.$el.find('input.name').val();
|
||||
var thread = Whisper.Threads.createGroup(numbers, name);
|
||||
thread.sendMessage(this.$el.find('input.send-message').val());
|
||||
// close this, select the new thread
|
||||
this.remove();
|
||||
thread.trigger('render');
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
|
Loading…
Reference in a new issue