VRFS-2795 tweaks

This commit is contained in:
Jonathan Kolyer 2015-03-06 05:10:29 +00:00
parent 2e24b58e12
commit 81df46e7a2
1 changed files with 2 additions and 1 deletions

View File

@ -81,10 +81,11 @@ context.JK.MusicianSearchFilter = class MusicianSearchFilter
populateAges: () =>
$('#search-filter-ages').empty()
ages_map = gon.musician_search_filter['ages']['map']
$.each gon.musician_search_filter['ages']['keys'], (index, key) =>
ageTemplate = $('#template-search-filter-setup-ages').html()
selected = ''
ageLabel = gon.musician_search_filter['ages']['map'][key]
ageLabel = ages_map[key]
if 0 < @searchFilter.ages.length
ageMatch = $.grep(@searchFilter.ages, (n, i) ->