diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-02-25 14:18:19 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:54 +0200 |
commit | 330dfeb46bc8107cf2f0b9a18926c48e88f5cb08 (patch) | |
tree | 8c1a5e584efea1e5b42265cae9eb452cdf88f538 /settings/js/users/groups.js | |
parent | 749afe74df7143329139f9a619b74c311646ddea (diff) | |
download | nextcloud-server-330dfeb46bc8107cf2f0b9a18926c48e88f5cb08.tar.gz nextcloud-server-330dfeb46bc8107cf2f0b9a18926c48e88f5cb08.zip |
group name input shall not vanish upon click, plus cleanup (groups do not have home folders)
Diffstat (limited to 'settings/js/users/groups.js')
-rw-r--r-- | settings/js/users/groups.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index 415d65b95cd..d84614f5e7d 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -71,12 +71,6 @@ $(document).ready( function () { e.stopPropagation(); $('#newgroup-form').show(); $('#newgroup-init').hide(); - $(document).click( function (e) { - if (e.target.id !== 'newgroup-form') { - $("#newgroup-form").hide(); - $("#newgroup-init").show(); - } - }); $('#newgroupname').focus(); }); @@ -104,20 +98,7 @@ $(document).ready( function () { var addedGroups = result.data.groupname; UserList.availableGroups = $.unique($.merge(UserList.availableGroups, addedGroups)); } - if (result.data.homeExists){ - OC.Notification.hide(); - OC.Notification.show(t('settings', 'Warning: Home directory for user "{group}" already exists', {group: result.data.groupname})); - if (UserList.notificationTimeout){ - window.clearTimeout(UserList.notificationTimeout); - } - UserList.notificationTimeout = window.setTimeout( - function(){ - OC.Notification.hide(); - UserList.notificationTimeout = null; - }, 10000); - } } - } ) }); |