diff --git a/application/views/template/body_js.php b/application/views/template/body_js.php index 77f110f..dadb46c 100755 --- a/application/views/template/body_js.php +++ b/application/views/template/body_js.php @@ -29,5 +29,5 @@ - + diff --git a/application/views/user/season/draft/ajax_get_draft_table.php b/application/views/user/season/draft/ajax_get_draft_table.php index 6f05d1f..4ae1ad0 100755 --- a/application/views/user/season/draft/ajax_get_draft_table.php +++ b/application/views/user/season/draft/ajax_get_draft_table.php @@ -4,8 +4,8 @@ rank?> - -
first_name[0].'.'.$p->last_name?>
+
first_name.' '.$p->last_name?>
+ club_id?> diff --git a/js/fflproject-sse.js b/js/fflproject-sse.js index a4dc3b8..dd2a3db 100644 --- a/js/fflproject-sse.js +++ b/js/fflproject-sse.js @@ -198,7 +198,15 @@ function sse_live_draft_events(live_draft) $.each(live_draft.recent_picks,function(id,player){ // Update draft table to hide draft/watch buttons for recently drafted players - $('.draft-avail-'+player.player_id).text(player.team_name); + if ($('#draft-list-checkbox').checked) + { + $('.draft-avail-'+player.player_id).text(player.team_name); + } + else + { + $(loadContent('draft-list')); + } + // Update watch table to remove recently drafted players if ($('.watch-avail-'+player.player_id).length > 0){loadContent('watch-list');} //$('.watch-avail-'+player.player_id).remove();