aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-01-09 09:53:03 +0100
committerStas Vilchik <vilchiks@gmail.com>2018-01-10 08:59:13 +0100
commit88883041bd25b9772873612bd3a84cbbcde0a2c6 (patch)
tree855a338175b83c1d95751dae2fc689f164ae4d26
parent48e68a05f6868756c243b8aa948d9312d3aecca3 (diff)
downloadsonarqube-88883041bd25b9772873612bd3a84cbbcde0a2c6.tar.gz
sonarqube-88883041bd25b9772873612bd3a84cbbcde0a2c6.zip
SONAR-10236 Cannot bulk activate/deactivate rules when using a web context
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/bulk-change-modal-view.js2
1 files changed, 1 insertions, 1 deletions
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();