mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Instant application of filters
This commit is contained in:
parent
bbc793b003
commit
21d056ff01
2 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue