aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/nav/global-navbar-view.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-05-05 15:15:16 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-05-05 15:30:38 +0200
commitcc181b8b100ffe35424217bfcb07f946938d32f0 (patch)
treedd436b931118ab449020690d1c1c86dab8498983 /server/sonar-web/src/main/js/nav/global-navbar-view.js
parent20395938652f7439f9e5c0f1eb2687800658b42d (diff)
downloadsonarqube-cc181b8b100ffe35424217bfcb07f946938d32f0.tar.gz
sonarqube-cc181b8b100ffe35424217bfcb07f946938d32f0.zip
apply new navigation WS
Diffstat (limited to 'server/sonar-web/src/main/js/nav/global-navbar-view.js')
-rw-r--r--server/sonar-web/src/main/js/nav/global-navbar-view.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/nav/global-navbar-view.js b/server/sonar-web/src/main/js/nav/global-navbar-view.js
index 64b199752a1..b5435662373 100644
--- a/server/sonar-web/src/main/js/nav/global-navbar-view.js
+++ b/server/sonar-web/src/main/js/nav/global-navbar-view.js
@@ -26,6 +26,10 @@ define([
return Marionette.Layout.extend({
template: Templates['nav-global-navbar'],
+ modelEvents: {
+ 'change': 'render'
+ },
+
regions: {
searchRegion: '.js-search-region'
},