Logo

GitLab

Sign in

Walenty / Slowal

  • Back to Group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
bb804fddd5bcaf06647342e7ece8e3d070e8e16d
  • Slowal
  • dictionary
  • static
  • js
  • all_statistics.js
  • Licensing changes.
    9fa13b28
    Bartłomiej Nitoń authored
    9 years ago  
    Browse Code »
all_statistics.js 433 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
$(function() {
    
  $('#user-select').live('change', show_user_info);  
  show_user_info();
  
});

function show_user_info()
{ 
  var user_name = $('#user-select').val();

  if(user_name)
  {
    ShowProgressAnimation();
    $('#user-statistics').load(ajax_get_user_stats, "user_name="+user_name, function() {
      HideProgressAnimation();
    });  
  }
  else
  {
    $('#user-statistics').empty();
  }
}