Instant application of filters

This commit is contained in:
Michael Schmatz 2014-07-08 11:19:14 -07:00
parent bbc793b003
commit 21d056ff01
2 changed files with 1 additions and 1 deletions

View file

@ -75,7 +75,6 @@ block content
//input#select_all_checkbox(type="checkbox" name="select_all" checked)
//| Select all
button.btn.employer-button#filter-button Filter
p#results #{numberOfCandidates} results
//button.btn#create-alert-button Create Alert
if candidates.length

View file

@ -70,6 +70,7 @@ module.exports = class EmployersView extends View
for filterName, filterValues of @filters
if filterValues.length is 0
@filters[filterName] = @defaultFilters[filterName]
@applyFilters()
openSignupModal: ->
@openModalView new EmployerSignupView