aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-06-11 17:39:09 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-06-11 17:39:09 +0200
commit519ecb733d35b6d866fb9056b768ba51011a2662 (patch)
tree305c71d403b08455a7404dfb92062f42719b0fd2 /server/sonar-web/src/main/js
parent42a102cdf372f43508e3d9e2c0dc3ebaafa8fdbb (diff)
downloadsonarqube-519ecb733d35b6d866fb9056b768ba51011a2662.tar.gz
sonarqube-519ecb733d35b6d866fb9056b768ba51011a2662.zip
SONAR-6565 do not show global error when request fails
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/apps/users/create-view.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/create-view.js b/server/sonar-web/src/main/js/apps/users/create-view.js
index 562e41e8d5d..743035362ad 100644
--- a/server/sonar-web/src/main/js/apps/users/create-view.js
+++ b/server/sonar-web/src/main/js/apps/users/create-view.js
@@ -18,7 +18,8 @@ define([
return user.save(null, {
statusCode: {
// do not show global error
- 400: null
+ 400: null,
+ 500: null
}
}).done(function () {
that.collection.refresh();