]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6565 do not show global error when request fails
authorStas Vilchik <vilchiks@gmail.com>
Thu, 11 Jun 2015 15:39:09 +0000 (17:39 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 11 Jun 2015 15:39:09 +0000 (17:39 +0200)
server/sonar-web/src/main/js/apps/users/create-view.js

index 562e41e8d5d63a4ec4ba77ce5a35ad03f7671f6b..743035362adf29c1d740d257ef163728be27ae3a 100644 (file)
@@ -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();