Merge pull request #16249 from roxanneskelly/bugz1381

BUGZ-1381 - domain server creates blank/undefined group when adding groups
This commit is contained in:
Shannon Romano 2019-09-26 12:28:39 -07:00 committed by GitHub
commit 1e67f1e914
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,8 +250,7 @@ $(document).ready(function(){
// set focus to the first input in the new row
$target.closest('table').find('tr.inputs input:first').focus();
}
} else {
var tableRows = sibling.parent();
var tableBody = tableRows.parent();
@ -260,6 +259,7 @@ $(document).ready(function(){
tableBody.find("." + Settings.ADD_ROW_BUTTON_CLASS).click();
}
}
}
} else if ($target.is('input')) {
$target.change().blur();