Skip to content

Commit

Permalink
Merge pull request #7432 from RocketChat/fix-private-message-submit
Browse files Browse the repository at this point in the history
[FIX] Fix Private Channel List Submit
  • Loading branch information
rodrigok authored Jul 14, 2017
2 parents e016535 + 7792d81 commit 308185a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Template.listPrivateGroupsFlex.events({

'keyup #channel-search': _.debounce((e, instance) => instance.nameFilter.set($(e.currentTarget).val()), 300),

'submit .search-form'(e) {
return e.preventDefault();
},

'change #sort'(e, instance) {
return instance.sort.set($(e.currentTarget).val());
}
Expand Down

0 comments on commit 308185a

Please sign in to comment.