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
|
@ -140,12 +140,13 @@ var browseByVClass = {
|
||||||
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