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

@@ -23,6 +23,10 @@
content: "\f164";
}
.sp-dummy {
display: none;
}
#sp_videodiv .inside > fieldset > p:first-child {
margin-top: 7px !important;
}

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();