Filter event players by league and season

This commit is contained in:
Brian Miyaji
2014-08-24 17:05:44 +10:00
parent 16fba6cfc4
commit d6f8a52106
5 changed files with 45 additions and 3 deletions

View File

@@ -127,6 +127,14 @@ jQuery(document).ready(function($){
// Activate self-cloning
$(".sp-clone:last").find("select").change();
// Dummy controller
$(".sp-has-dummy").change(function() {
val = $(this).val();
if ( val == -1 ) val = 0;
name = $(this).attr("name");
$(".sp-dummy."+name+"-dummy").val(val).trigger("change");
});
// Custom value editor
$(".sp-data-table .sp-default-value").click(function() {
$(this).hide().siblings(".sp-custom-value").show().find(".sp-custom-value-input").focus();