NIHVIVO-2787 Change title selections when selecting a vclass for which no individuals are returned
This commit is contained in:
parent
59e3150fc3
commit
239256187d
1 changed files with 8 additions and 7 deletions
|
@ -138,14 +138,15 @@ var browseByVClass = {
|
|||
if ( results.pages.length ) {
|
||||
pages = results.pages;
|
||||
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