* no more results element in find musician page needs to be hidden on new search
This commit is contained in:
parent
6a01a1c2d6
commit
fbb1ffb7a3
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue