From: Stas Vilchik Date: Thu, 11 Jun 2015 15:39:09 +0000 (+0200) Subject: SONAR-6565 do not show global error when request fails X-Git-Tag: 5.2-RC1~1517 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=519ecb733d35b6d866fb9056b768ba51011a2662;p=sonarqube.git SONAR-6565 do not show global error when request fails --- 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();