Add statistic order and priority sorting to league table

This commit is contained in:
ThemeBoy
2013-12-03 01:59:27 +11:00
parent 9fa6495ebe
commit 21e4719db1
6 changed files with 130 additions and 325 deletions

View File

@@ -73,6 +73,15 @@ jQuery(document).ready(function($){
}
});
// Equation selector
$('.sp-order-selector select:first').change(function() {
if($(this).val() == '0') {
$(this).siblings().prop( 'disabled', true );
} else {
$(this).siblings().prop( 'disabled', false )
}
});
// Trigger equation selector
$('.sp-equation-selector select:last').change().siblings().change();