Skip to content

Commit

Permalink
added one more client-side hook for search @barisusakli
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Jul 10, 2017
1 parent 59aeee6 commit 45d940a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/src/client/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ define('forum/search', ['search', 'autocomplete', 'storage'], function (searchMo
$('#show-as-topics').prop('checked', isTopic).parent().toggleClass('active', isTopic);
$('#show-as-posts').prop('checked', isPost).parent().toggleClass('active', isPost);
}

$(window).trigger('action:search.fillOutForm', {
form: formData,
});
}
}

Expand Down

0 comments on commit 45d940a

Please sign in to comment.