* fix easy dropdown silliness

This commit is contained in:
Seth Call 2016-01-20 05:37:13 -06:00
parent 4d8b8a38b6
commit d93f64c2e5
3 changed files with 17 additions and 14 deletions

View File

@ -250,7 +250,7 @@
selectLocation.load(userDetail.country, userDetail.state, userDetail.city)
});
context.JK.dropdown($('select'));
context.JK.dropdown($('select'), $screen);
}
function navToAccount() {

View File

@ -159,8 +159,8 @@
var userDetail = userDetailResponse[0];
populateAccountProfile(userDetail, instrumentsResponse[0]);
});
context.JK.dropdown($('select'));
context.JK.dropdown($('select'), $screen);
}
function navigateTo(targetLocation) {

View File

@ -60,18 +60,21 @@
};
profileUtils.gigMap = {
"": "not specified",
"0": "under 10",
"1": "10 to 50",
"2": "50 to 100",
"3": "over 100"
"": "Not specified",
"0": "0",
"1": "under 10",
"2": "10 to 50",
"3": "50 to 100",
"4": "over 100"
};
profileUtils.studioMap = {
"0": "under 10",
"1": "10 to 50",
"2": "50 to 100",
"3": "over 100"
"" : 'Not specified',
"0": "0",
"1": "under 10",
"2": "10 to 50",
"3": "50 to 100",
"4": "over 100"
};
profileUtils.cowritingPurposeMap = {
@ -408,11 +411,11 @@
// concert gigs
var concertCount = player.concert_count;
$concertCount.html(concertCount > 0 ? 'Has played ' + profileUtils.gigMap[concertCount] + ' live concert gigs' : NOT_SPECIFIED_TEXT);
$concertCount.html(concertCount > 0 ? 'Has played ' + profileUtils.gigMap[concertCount] + ' live concert gigs' : 0);
// studio gigs
var studioCount = player.studio_session_count;
$studioCount.html(studioCount > 0 ? 'Has played ' + profileUtils.gigMap[studioCount] + ' studio session gigs' : NOT_SPECIFIED_TEXT);
$studioCount.html(studioCount > 0 ? 'Has played ' + profileUtils.gigMap[studioCount] + ' studio session gigs' : 0);
}// function renderMusicalExperience