diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-10-19 11:41:53 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-10-21 21:10:48 +0200 |
commit | 2e38d0173dae6dda76db6206a00f73cfc512d710 (patch) | |
tree | e10d26123643967a82513a6278c29b1dde0bc850 /settings | |
parent | f3d9961150e10a17addb632f6c10366747df62f6 (diff) | |
download | nextcloud-server-2e38d0173dae6dda76db6206a00f73cfc512d710.tar.gz nextcloud-server-2e38d0173dae6dda76db6206a00f73cfc512d710.zip |
Fix deletion feedback
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings')
-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> |