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 committed Jul 14, 2017
1 parent e7e6cbe commit f0c2447
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,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 f0c2447

Please sign in to comment.