diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/apps/metrics/create-view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/metrics/create-view.js b/server/sonar-web/src/main/js/apps/metrics/create-view.js index 06a192eac33..9e2145fbee7 100644 --- a/server/sonar-web/src/main/js/apps/metrics/create-view.js +++ b/server/sonar-web/src/main/js/apps/metrics/create-view.js @@ -27,8 +27,8 @@ define([ } that.destroy(); }).fail(function (jqXHR) { + that.showErrors(jqXHR.responseJSON.errors, jqXHR.responseJSON.warnings); that.enableForm(); - that.showErrors([{ msg: jqXHR.responseJSON.err_msg }]); }); } }); |