aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/users/app.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-08-24 13:50:18 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-08-26 10:12:03 +0200
commit223bcb955ba554be354f6b4b1ca0c1acb9431d66 (patch)
treec055f39d1cf688974d275877c5ff07490c32295f /server/sonar-web/src/main/js/apps/users/app.js
parent4fa812ee4cb69d00e761b7887fdd30820d6748a9 (diff)
downloadsonarqube-223bcb955ba554be354f6b4b1ca0c1acb9431d66.tar.gz
sonarqube-223bcb955ba554be354f6b4b1ca0c1acb9431d66.zip
use the single web app
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users/app.js')
-rw-r--r--server/sonar-web/src/main/js/apps/users/app.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/app.js b/server/sonar-web/src/main/js/apps/users/app.js
index 9fa9df3759a..575f2afc320 100644
--- a/server/sonar-web/src/main/js/apps/users/app.js
+++ b/server/sonar-web/src/main/js/apps/users/app.js
@@ -1,11 +1,12 @@
define([
+ 'backbone.marionette',
'./layout',
'./users',
'./header-view',
'./search-view',
'./list-view',
'./list-footer-view'
-], function (Layout, Users, HeaderView, SearchView, ListView, ListFooterView) {
+], function (Marionette, Layout, Users, HeaderView, SearchView, ListView, ListFooterView) {
var App = new Marionette.Application(),
init = function (options) {
@@ -37,9 +38,7 @@ define([
};
App.on('start', function (options) {
- window.requestMessages().done(function () {
- init.call(App, options);
- });
+ init.call(App, options);
});
return App;