aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-profiles/create-profile-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/create-profile-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/create-profile-view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/create-profile-view.js b/server/sonar-web/src/main/js/apps/quality-profiles/create-profile-view.js
index ec5a0923d4b..531edc0f342 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/create-profile-view.js
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/create-profile-view.js
@@ -74,7 +74,7 @@ define([
that.showErrors(r.errors, r.warnings);
} else {
that.addProfile(r.profile);
- that.close();
+ that.destroy();
}
});
},