Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
hot fix for people page
  • Loading branch information
briandunnigan authored and briandunnigan committed Mar 11, 2016
1 parent fd32da3 commit ccdd6b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions js/custom.js
Expand Up @@ -208,20 +208,20 @@ jQuery(document).ready(function($) {
$("#directory-dropdownMenu").on('change', function(event){
event.preventDefault();

var categoryName = this.options[this.options.selectedIndex].text;
if( this.value != 0 ){
window.location.hash = "#" + categoryName.replace( /\s/g, '_' );
} else {
window.location.hash = "";
}

if( this.value == "faculty-expert" ){
var data = {
'action': 'neag_get_experts',
};

directory.setFacultyExperts( data );
} else {
var categoryName = this.options[this.options.selectedIndex].text;
if( this.value != 0 ){
window.location.hash = "#" + categoryName.replace( /\s/g, '_' );
} else {
window.location.hash = "";
}

} else {
var data = {
'action': 'neag_get_people',
'categoryID': this.value
Expand Down
2 changes: 1 addition & 1 deletion js/min/custom.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ccdd6b5

Please sign in to comment.