Merge branch 'develop' of bitbucket.org:jamkazam/jam-cloud into develop
This commit is contained in:
commit
3b8e564495
|
|
@ -91,7 +91,7 @@ module JamRuby
|
|||
PARAM_BAND = :srch_b
|
||||
PARAM_FEED = :srch_f
|
||||
|
||||
F_PER_PAGE = B_PER_PAGE = M_PER_PAGE = 10
|
||||
F_PER_PAGE = B_PER_PAGE = M_PER_PAGE = 20
|
||||
M_MILES_DEFAULT = 500
|
||||
B_MILES_DEFAULT = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@
|
|||
$('#band_genre').change(refreshDisplay);
|
||||
$('#band_order_by').change(refreshDisplay);
|
||||
|
||||
$('#band-filter-results').bind('scroll', function() {
|
||||
$('#band-filter-results').closest('.content-body-scroller').bind('scroll', function() {
|
||||
if ($(this).scrollTop() + $(this).innerHeight() >= $(this)[0].scrollHeight) {
|
||||
if (page_num < page_count) {
|
||||
page_num += 1;
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@
|
|||
$('#musician_instrument').change(refreshDisplay);
|
||||
$('#musician_order_by').change(refreshDisplay);
|
||||
|
||||
$('#musician-filter-results').bind('scroll', function() {
|
||||
$('#musician-filter-results').closest('.content-body-scroller').bind('scroll', function() {
|
||||
if ($(this).scrollTop() + $(this).innerHeight() >= $(this)[0].scrollHeight) {
|
||||
if (page_num < page_count) {
|
||||
page_num += 1;
|
||||
|
|
|
|||
|
|
@ -26,9 +26,11 @@
|
|||
musicianHtml += '<td width="75"><a href="#">' + val.name + '</a></td>';
|
||||
|
||||
instrumentHtml = '<td><div class="nowrap">';
|
||||
$.each(val.instruments, function(index, instrument) {
|
||||
instrumentHtml += '<img src="' + instrumentLogoMap[instrument.instrument_id] + '" width="24" height="24" /> ';
|
||||
});
|
||||
if (val.instruments) { // @FIXME: edge case for Test user that has no instruments?
|
||||
$.each(val.instruments, function(index, instrument) {
|
||||
instrumentHtml += '<img src="' + instrumentLogoMap[instrument.instrument_id] + '" width="24" height="24" /> ';
|
||||
});
|
||||
}
|
||||
|
||||
instrumentHtml += '</div></td>';
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,15 @@
|
|||
}
|
||||
|
||||
function events() {
|
||||
$('.userinfo').hoverIntent(menuHoverIn, menuHoverOut);
|
||||
$('.userinfo').hoverIntent({
|
||||
over: function () {
|
||||
$('ul.shortcuts', this).fadeIn(100);
|
||||
},
|
||||
out: function() {
|
||||
$('ul.shortcuts', this).fadeOut(100);
|
||||
},
|
||||
timeout: 500
|
||||
});
|
||||
|
||||
$('.userinfo .invite-friends .menuheader').on('click', function(e) {
|
||||
$(this).closest('li').css('height', 'auto').find('ul').toggle();
|
||||
|
|
|
|||
Loading…
Reference in New Issue