* no more results element in find musician page needs to be hidden on new search

This commit is contained in:
Seth Call 2014-08-21 15:03:02 -05:00
parent 6a01a1c2d6
commit fbb1ffb7a3
1 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,7 @@
var $screen = null;
var $results = null;
var $spinner = null;
var $endMusicianList = null;
var helpBubble = context.JK.HelpBubbleHelper;
var sessionUtils = context.JK.SessionUtils;
@ -200,6 +201,7 @@
function clearResults() {
musicians = {};
$('#musician-filter-results .musician-list-result').remove();
$endMusicianList.hide();
page_num = 1;
page_count = 0;
}
@ -276,7 +278,7 @@
search();
}
else {
$('#end-of-musician-list').show()
$endMusicianList.show()
}
}
});
@ -295,6 +297,7 @@
$screen = $('#musicians-screen')
$results = $screen.find('#musician-filter-results');
$spinner = $screen.find('.paginate-wait')
$endMusicianList = $screen.find('#end-of-musician-list')
events();
}