aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js
index 1c74fc9dd63..6139044cbf6 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js
+++ b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js
@@ -50,8 +50,8 @@ export default Marionette.ItemView.extend({
var that = this,
ruleKey = this.options.rule.get('key');
confirmDialog({
- title: t('coding_rules.revert_to_parent_definition'),
- html: tp('coding_rules.revert_to_parent_definition.confirm', this.getParent().name),
+ title: window.t('coding_rules.revert_to_parent_definition'),
+ html: window.tp('coding_rules.revert_to_parent_definition.confirm', this.getParent().name),
yesHandler: function () {
return $.ajax({
type: 'POST',
@@ -72,8 +72,8 @@ export default Marionette.ItemView.extend({
var that = this,
ruleKey = this.options.rule.get('key');
confirmDialog({
- title: t('coding_rules.deactivate'),
- html: tp('coding_rules.deactivate.confirm'),
+ title: window.t('coding_rules.deactivate'),
+ html: window.tp('coding_rules.deactivate.confirm'),
yesHandler: function () {
return $.ajax({
type: 'POST',
@@ -137,5 +137,3 @@ export default Marionette.ItemView.extend({
});
}
});
-
-