summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/menu.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-03-19 15:29:58 +0100
committerPetr Vobornik <pvoborni@redhat.com>2014-03-27 12:44:40 +0100
commite7bfac1e63360993aea2be91082ca69c478f3cf1 (patch)
treec5e1d2161fd27498f9faadf6c9fb651159a7e061 /install/ui/src/freeipa/menu.js
parente04da74626dbaef9990833cf1def23da51981a93 (diff)
downloadfreeipa-e7bfac1e63360993aea2be91082ca69c478f3cf1.tar.gz
freeipa-e7bfac1e63360993aea2be91082ca69c478f3cf1.tar.xz
freeipa-e7bfac1e63360993aea2be91082ca69c478f3cf1.zip
webui: make navigation module independent on app module
When some module used 'freeipa/navigation' it pulled the entire Web UI because navigation depended on app. This patch splits the app into two modules: app and app_container. App specifies the entities which are part of final application. app_container module represents the application boot classes. Navigation now depends on app_container. Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'install/ui/src/freeipa/menu.js')
-rw-r--r--install/ui/src/freeipa/menu.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/menu.js b/install/ui/src/freeipa/menu.js
index 3da643890..2cd9bdcd7 100644
--- a/install/ui/src/freeipa/menu.js
+++ b/install/ui/src/freeipa/menu.js
@@ -21,15 +21,15 @@
define([
'dojo/_base/lang',
- './app', // creates circular dependency
+ './app_container',
'./ipa',
'exports' // for handling circular dependency
],
- function(lang, app, IPA, exports) {
+ function(lang, app_container, IPA, exports) {
var get_menu = function() {
- return app.app.menu;
+ return app_container.app.menu;
},
/**