Enable auto populating league tables

This commit is contained in:
Brian Miyaji
2015-01-22 10:38:16 +11:00
parent aac0670c43
commit b13f429b29
3 changed files with 58 additions and 4 deletions

View File

@@ -466,8 +466,9 @@ jQuery(document).ready(function($){
$(".post-type-sp_list #post-formats-select input.post-format").trigger("change");
// Auto-select hides options
$(".sp-select-setting").change(function() {
$(".sp-select-options").toggle("manual"==$(this).val());
$(".sp-select-setting").find("select").change(function() {
$(".sp-select-all-range").toggle("manual"==$(this).val());
$(this).closest(".sp-select-setting").siblings(".sp-tab-select").find("select").change()
});
// Configure primary result option (Ajax)