aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/coffee/quality-gate
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-05-23 11:22:10 +0200
committerStas Vilchik <vilchiks@gmail.com>2014-05-23 11:22:18 +0200
commit1bb389c76d0ddae0c5ab1c14171a0e93cd2526cf (patch)
tree41d1aad6f2cd170f22c5d4d719b5a88cef5d231d /sonar-server/src/main/coffee/quality-gate
parentee745227117605345cfbd379b69ecf564a77cfd9 (diff)
downloadsonarqube-1bb389c76d0ddae0c5ab1c14171a0e93cd2526cf.tar.gz
sonarqube-1bb389c76d0ddae0c5ab1c14171a0e93cd2526cf.zip
SONAR-5334 First frontend integration
Diffstat (limited to 'sonar-server/src/main/coffee/quality-gate')
-rw-r--r--sonar-server/src/main/coffee/quality-gate/app.coffee6
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-server/src/main/coffee/quality-gate/app.coffee b/sonar-server/src/main/coffee/quality-gate/app.coffee
index 1e2e4b52c83..2f6a8720f27 100644
--- a/sonar-server/src/main/coffee/quality-gate/app.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/app.coffee
@@ -130,11 +130,13 @@ requirejs [
App.canEdit = r.edit
App.periods = r.periods
App.metrics = r.metrics
- window.messages = r.messages
qualityGatesXHR = App.qualityGates.fetch()
- jQuery.when(qualityGatesXHR, appXHR)
+ # Message bundles
+ l10nXHR = window.requestMessages()
+
+ jQuery.when(qualityGatesXHR, appXHR, l10nXHR)
.done ->
# Remove the initial spinner
jQuery('#quality-gate-page-loader').remove()