* finish task #38701.

This commit is contained in:
wangyidong
2021-06-22 10:24:42 +08:00
parent 1af22a4ae1
commit d90c25c7f7
+14
View File
@@ -491,6 +491,20 @@ $('#modalTeam .btn').click(function()
{
var team = '';
var time = 0;
/* Unique team. */
$('[name*=team]').each(function(i)
{
value = $(this).val();
if(value == '') return;
$('[name*=team]').each(function(j)
{
if(i <= j) return;
if(value == $(this).val()) $(this).closest('tr').addClass('hidden');
})
})
$('[name*=team]').closest('tr.hidden').remove();
$('[name*=team]').each(function()
{
if($(this).find('option:selected').text() != '')