aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/metrics/update-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/metrics/update-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/metrics/update-view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/metrics/update-view.js b/server/sonar-web/src/main/js/apps/metrics/update-view.js
index c4edec81a8d..3dfea4a584e 100644
--- a/server/sonar-web/src/main/js/apps/metrics/update-view.js
+++ b/server/sonar-web/src/main/js/apps/metrics/update-view.js
@@ -21,7 +21,7 @@ define([
}
}).done(function () {
that.collection.refresh();
- that.close();
+ that.destroy();
}).fail(function (jqXHR) {
that.enableForm();
that.showErrors(jqXHR.responseJSON.errors, jqXHR.responseJSON.warnings);