diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-05-13 15:31:11 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:59 +0200 |
commit | ec572607e136e5284991854db13b045632caafe6 (patch) | |
tree | be0974a3291ce9ada171846481b44d4bbac03780 /settings/js/users/groups.js | |
parent | 7b63c2c0362a54218841d548c2cafb5bc417a0db (diff) | |
download | nextcloud-server-ec572607e136e5284991854db13b045632caafe6.tar.gz nextcloud-server-ec572607e136e5284991854db13b045632caafe6.zip |
remove group rename stuff, there is not support in the backends yet. to do for oc8.
Diffstat (limited to 'settings/js/users/groups.js')
-rw-r--r-- | settings/js/users/groups.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index c3b8cc6a081..3b487624823 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -263,37 +263,6 @@ $(document).ready( function () { GroupList.showGroup(GroupList.getElementGID(this)); }); - // Implements Groupname editing. - $('#app-navigation').on('click', '.isgroup .rename', function (event) { - event.stopPropagation(); - var $li = $(this).closest('li'); - var gid = GroupList.getElementGID(this); - var groupname = escapeHTML(gid); - var $input = $('<input type="text" value="' + groupname + '">'); - $li.find('.dorename img').hide(); - $li.find('.dorename span').replaceWith($input); - $input.focus(); - $input.keypress(function (event) { - if (event.keyCode === 13) { - if ($input.val().length > 0) { - $.post( - OC.filePath('settings', 'ajax', 'changegroupname.php'), - { groupname: $input.val() } - ); - $input.blur(); - } else { - $input.blur(); - } - } - }); - $input.blur(function () { - var $input = $(this), groupname = $input.val(); - $input.closest('li').data('gid', groupname); - $input.replaceWith('<span>' + escapeHTML(groupname) + '</span>'); - $li.find('img').show(); - }); - }); - // Implements Quota Settings Toggle. var $appSettings = $('#app-settings'); $('#app-settings-header').on('click keydown',function(event) { |