m |
m |
||
Line 30: | Line 30: | ||
} | } | ||
− | function get_sub_form_list(form_info) { | + | function get_sub_form_list(form_info, team.id) { |
jQuery.ajax({ | jQuery.ajax({ | ||
Line 36: | Line 36: | ||
method: "GET", | method: "GET", | ||
timeout: 30000, | timeout: 30000, | ||
− | data: {command: "get_sub_form_list", form_name: "2016_check_in", team_id: | + | data: {command: "get_sub_form_list", form_name: "2016_check_in", team_id: team.id}, |
dataType: "json", | dataType: "json", | ||
error: function(jqxhr, textStatus, errorThrown) { | error: function(jqxhr, textStatus, errorThrown) { | ||
Line 66: | Line 66: | ||
team_data.forEach(function(team) { | team_data.forEach(function(team) { | ||
teamList += "<tr id='" + team.id + "'><td>" + team.name + "</td><td>" + team.country + "</td><td>" + team.kind + "</td><td> ~ </td></tr>"; | teamList += "<tr id='" + team.id + "'><td>" + team.name + "</td><td>" + team.country + "</td><td>" + team.kind + "</td><td> ~ </td></tr>"; | ||
− | + | get_sub_form_list(form_info, team.id) | |
}); | }); | ||
$("#teamListRows").append(teamList); | $("#teamListRows").append(teamList); | ||
− | |||
− | |||
} | } | ||
Revision as of 15:48, 29 September 2017
Team Name | Country* | Kind | Check-Ins |
---|