Index: lams_central/web/includes/javascript/main.js =================================================================== diff -u -r439146ab153b50141ed1bda84f6cbdc212e0b3f5 -r96c176f362cecb4f3ac20dc2e9bae64bbbc2b5a6 --- lams_central/web/includes/javascript/main.js (.../main.js) (revision 439146ab153b50141ed1bda84f6cbdc212e0b3f5) +++ lams_central/web/includes/javascript/main.js (.../main.js) (revision 96c176f362cecb4f3ac20dc2e9bae64bbbc2b5a6) @@ -70,7 +70,7 @@ }) }); - $('.tablesorter').bind('filterEnd pagerComplete', function(event, data){ + $('.tablesorter').bind('pagerComplete', function(event, data){ //hide pager if total amount of courses is less than 10 if (data.totalRows < 10) { @@ -80,7 +80,7 @@ } //in case active course is not yet chosen by user, select the fist one from the list - if ((activeOrgId == null) && (event.type == "pagerComplete") && (data.totalRows > 0)) { + if ((activeOrgId == null) && (data.totalRows > 0)) { var firstOrgId = $('.tablesorter a').first().data("id"); selectOrganisation(firstOrgId); }