summaryrefslogtreecommitdiffstats
path: root/install/ui/webui.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-04-28 19:17:58 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-05-05 12:14:43 -0500
commitdd89c28654c92c0922900409b37c1abcefc56c84 (patch)
treecf6d1d5eedcce59a0cd1fd263c3fe9a7a435b36b /install/ui/webui.js
parent5eb9f088f2c5c902a55aefdf9dd8b2a95e060837 (diff)
downloadfreeipa-dd89c28654c92c0922900409b37c1abcefc56c84.tar.gz
freeipa-dd89c28654c92c0922900409b37c1abcefc56c84.tar.xz
freeipa-dd89c28654c92c0922900409b37c1abcefc56c84.zip
Moved entity contents outside navigation.
Previously the entities and navigation are entangled inside a common DOM structure which limits code reuse. Now they have been moved into separate structures.
Diffstat (limited to 'install/ui/webui.js')
-rw-r--r--install/ui/webui.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/webui.js b/install/ui/webui.js
index eac07db23..a44b9f0e6 100644
--- a/install/ui/webui.js
+++ b/install/ui/webui.js
@@ -128,7 +128,8 @@ $(function() {
}
return factory({
- container: $('#navigation')
+ container: $('#navigation'),
+ content: $('#content')
});
}
@@ -153,7 +154,7 @@ $(function() {
function init_on_error(xhr, text_status, error_thrown) {
- var container = $('#navigation').empty();
+ var container = $('#content').empty();
container.append('<p>Error: '+error_thrown.name+'</p>');
container.append('<p>'+error_thrown.title+'</p>');
container.append('<p>'+error_thrown.message+'</p>');