Merge branch 'master_xieqiyu_23725' into 'master'
* Fix bug#23725. See merge request easycorp/zentaopms!3998
This commit is contained in:
@@ -104,6 +104,8 @@ function addItem(obj)
|
||||
function deleteItem(obj)
|
||||
{
|
||||
if($('#teamForm .table tbody').children().length < 2) return false;
|
||||
|
||||
$(obj).closest('tr').find('.picker .picker-selection-remove').click();
|
||||
$(obj).closest('tr').remove();
|
||||
}
|
||||
|
||||
|
||||
@@ -111,6 +111,8 @@ function addItem(obj)
|
||||
function deleteItem(obj)
|
||||
{
|
||||
if($('#teamForm .table tbody').children().length < 2) return false;
|
||||
|
||||
$(obj).closest('tr').find('.picker .picker-selection-remove').click();
|
||||
$(obj).closest('tr').remove();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user