diff options
-rw-r--r-- | settings/js/users/groups.js | 2 | ||||
-rw-r--r-- | settings/templates/users/part.grouplist.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index c8554c78712..522291a00d7 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 e68cb0b37ad..469ed94adb3 100644 --- a/settings/templates/users/part.grouplist.php +++ b/settings/templates/users/part.grouplist.php @@ -56,12 +56,12 @@ </a> <div class="app-navigation-entry-utils"> <ul> + <li class="app-navigation-entry-utils-counter"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></li> <?php if($_['isAdmin']): ?> <li class="app-navigation-entry-utils-menu-button delete"> <button class="icon-delete"></button> </li> <?php endif; ?> - <li class="app-navigation-entry-utils-counter"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></li> </ul> </div> </li> |