NIHVIVO-2787 Change title selections when selecting a vclass for which no individuals are returned
This commit is contained in:
parent
a607f2985c
commit
157884b1e8
1 changed files with 6 additions and 5 deletions
|
@ -91,11 +91,12 @@ browseByVClass.getIndividuals = function(vclassUri, alpha, page, scroll) {
|
||||||
browseByVClass.pagination(pages, page);
|
browseByVClass.pagination(pages, page);
|
||||||
}
|
}
|
||||||
|
|
||||||
$('h3.selected-class').text(results.vclass.name);
|
|
||||||
|
|
||||||
// set selected class, alpha and page
|
|
||||||
browseByVClass.selectedVClass(results.vclass.URI);
|
|
||||||
browseByVClass.selectedAlpha(alpha);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set selected class, alpha and page
|
||||||
|
// Do this whether or not there are any results
|
||||||
|
$('h3.selected-class').text(results.vclass.name);
|
||||||
|
browseByVClass.selectedVClass(results.vclass.URI);
|
||||||
|
browseByVClass.selectedAlpha(alpha);
|
||||||
});
|
});
|
||||||
};
|
};
|
Loading…
Add table
Add a link
Reference in a new issue