diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-28 19:17:58 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-05-04 13:51:22 -0500 |
commit | 79389bed772298ad092cbd3156b987a433dc7500 (patch) | |
tree | 4fad15136a430aa35a2c71274ae73d9502f30044 /install/ui/webui.js | |
parent | a5a69fd56c0a42a0f9d715e6636171562a6d4729 (diff) | |
download | freeipa-79389bed772298ad092cbd3156b987a433dc7500.tar.gz freeipa-79389bed772298ad092cbd3156b987a433dc7500.tar.xz freeipa-79389bed772298ad092cbd3156b987a433dc7500.zip |
Moved entity contents outside navigation.
Previously the entities and navigation are entangled inside a common
DOM structure which restricts code reuse. Now they have been moved
into separate structures.
Diffstat (limited to 'install/ui/webui.js')
-rw-r--r-- | install/ui/webui.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/webui.js b/install/ui/webui.js index eac07db2..a44b9f0e 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>'); |