// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

// Used in the catalyst tools to switch whether jobTitle or Grad year is visible
// in the inline editing field. 
function changeFields (event) { 
  userType = $F('user_user_type');
  if (userType == 'student') { 
    $('jobTitleDD').hide();
    $('graduationYearDD').show();
  } else { 
    $('graduationYearDD').hide();
    $('jobTitleDD').show();
  }
}
  

