aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/widgets
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-01-11 16:21:54 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-01-11 16:21:54 +0100
commit9f3b75975d8308cd2aaa77bed6c1544ebdbcb865 (patch)
treed057d8e800ba79a1b2331da6d87098e1f08619e3 /server/sonar-web/src/main/js/widgets
parent4c9844af6bbd204893cfd70b13a795fcf57787dc (diff)
downloadsonarqube-9f3b75975d8308cd2aaa77bed6c1544ebdbcb865.tar.gz
sonarqube-9f3b75975d8308cd2aaa77bed6c1544ebdbcb865.zip
fix widgets to not explicitly use l10n
Diffstat (limited to 'server/sonar-web/src/main/js/widgets')
-rw-r--r--server/sonar-web/src/main/js/widgets/old/tag-cloud.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/widgets/old/tag-cloud.js b/server/sonar-web/src/main/js/widgets/old/tag-cloud.js
index bc7da015595..933c89c461c 100644
--- a/server/sonar-web/src/main/js/widgets/old/tag-cloud.js
+++ b/server/sonar-web/src/main/js/widgets/old/tag-cloud.js
@@ -37,7 +37,7 @@ import { translate } from '../../helpers/l10n';
TagCloud.prototype.renderWords = function () {
var that = this;
- return window.requestMessages().done(function () {
+ return window.sonarqube.appStarted.then(function () {
var words = that.wordContainer.selectAll('.cloud-word').data(that.tags()),
wordsEnter = words.enter().append('a').classed('cloud-word', true);
wordsEnter.text(function (d) {