*Fix bug #2015.
This commit is contained in:
@@ -234,3 +234,25 @@ $(document).ready(function()
|
||||
|
||||
adjustButtons();
|
||||
});
|
||||
|
||||
$('#modalTeam .btn').click(function()
|
||||
{
|
||||
var team = '';
|
||||
var time = 0;
|
||||
$('[name*=team]').each(function()
|
||||
{
|
||||
if($(this).find('option:selected').text() != '')
|
||||
{
|
||||
team += ' ' + $(this).find('option:selected').text();
|
||||
}
|
||||
|
||||
estimate = parseFloat($(this).parents('td').next('td').find('[name*=teamEstimate]').val());
|
||||
if(!isNaN(estimate))
|
||||
{
|
||||
time += estimate;
|
||||
}
|
||||
|
||||
$('#teamMember').val(team);
|
||||
$('#estimate').val(time);
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user