summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-11-14 21:45:03 +0100
committerBart Visscher <bartv@thisnet.nl>2012-11-14 21:52:28 +0100
commit343e9d86213edb832455338816527e9cbab0d6e0 (patch)
tree51a6ba9cd5dd7197463624caab206aa8f82635cf /settings/js
parent59627367ae4ba41c84f14e55ef4fe57c2924b7ab (diff)
downloadnextcloud-server-343e9d86213edb832455338816527e9cbab0d6e0.tar.gz
nextcloud-server-343e9d86213edb832455338816527e9cbab0d6e0.zip
Better check and handing of user deletion
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/users.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/js/users.js b/settings/js/users.js
index 91be1a44385..517984f9247 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -59,6 +59,8 @@ var UserList={
if (ready) {
ready();
}
+ } else {
+ oc.dialogs.alert(result.data.message, t('settings', 'Unable to remove user'));
}
}
});