summaryrefslogtreecommitdiffstats
path: root/settings/js/users/groups.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/users/groups.js')
-rw-r--r--settings/js/users/groups.js19
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);
- }
}
-
}
)
});