From 88883041bd25b9772873612bd3a84cbbcde0a2c6 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 9 Jan 2018 09:53:03 +0100 Subject: [PATCH] SONAR-10236 Cannot bulk activate/deactivate rules when using a web context --- .../src/main/js/apps/coding-rules/bulk-change-modal-view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/coding-rules/bulk-change-modal-view.js b/server/sonar-web/src/main/js/apps/coding-rules/bulk-change-modal-view.js index 31de119d09f..f9e5e728665 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/bulk-change-modal-view.js +++ b/server/sonar-web/src/main/js/apps/coding-rules/bulk-change-modal-view.js @@ -66,7 +66,7 @@ export default ModalFormView.extend({ onFormSubmit() { ModalFormView.prototype.onFormSubmit.apply(this, arguments); - const url = `${window.baseUrl}/api/qualityprofiles/${this.options.action}_rules`; + const url = `/api/qualityprofiles/${this.options.action}_rules`; const options = { ...this.options.app.state.get('query'), wsAction: this.options.action }; const profiles = this.$('#coding-rules-bulk-change-profile').val() || [this.options.param]; this.ui.messagesContainer.empty(); -- 2.39.5