NIHVIVO-1995 Forgot to apply the new wipeSlate() function to browseByVClassPeople.js in r2512

This commit is contained in:
nac26 2011-02-03 17:29:28 +00:00
parent 31d14cfeca
commit d59e10466a

View file

@ -74,10 +74,8 @@ browseByVClass.getIndividuals = function(vclassUri, alpha, page, scroll) {
individualList += listItem; individualList += listItem;
}) })
// First wipe currently displayed class heading, individuals, and existing pagination // Remove existing content
$('h3.selected-class').remove(); browseByVClass.wipeSlate();
browseByVClass.individualsInVClass.empty();
$('nav.pagination').remove();
// And then add the new content // And then add the new content
browseByVClass.individualsInVClass.append(individualList); browseByVClass.individualsInVClass.append(individualList);