diff --git a/webapp/web/js/menupage/browseByVClass.js b/webapp/web/js/menupage/browseByVClass.js index 2fbd96624..9a6dacaea 100644 --- a/webapp/web/js/menupage/browseByVClass.js +++ b/webapp/web/js/menupage/browseByVClass.js @@ -231,7 +231,11 @@ var browseByVClass = { this.wipeSlate(); this.selectedAlpha(alpha); - nothingToSeeHere = '

There are no '+ vclass.name +' individuals whose name starts with '+ alpha.toUpperCase() +'.

Please try another letter or browse all.

'; + if ( alpha != "all" ) { + nothingToSeeHere = '

There are no '+ vclass.name +' individuals whose name starts with '+ alpha.toUpperCase() +'.

Please try another letter or browse all.

'; + } else { + nothingToSeeHere = '

There are no '+ vclass.name +' individuals in the system.

Please select another class from the list.

'; + } browseByVClass.individualsContainer.prepend(nothingToSeeHere); } };