diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index c8554c7871..522291a00d 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -297,7 +297,7 @@ GroupList = { } // Call function for handling delete/undo - GroupDeleteHandler.mark(GroupList.getElementGID(this)); + GroupDeleteHandler.mark(GroupList.getElementGID($(this).parent())); }; $userGroupList.on('click', '.delete', deleteAction); diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php index e68cb0b37a..469ed94adb 100644 --- a/settings/templates/users/part.grouplist.php +++ b/settings/templates/users/part.grouplist.php @@ -56,12 +56,12 @@