From dd89c28654c92c0922900409b37c1abcefc56c84 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 28 Apr 2011 19:17:58 -0500 Subject: 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. --- install/ui/webui.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/ui/webui.js') 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('

Error: '+error_thrown.name+'

'); container.append('

'+error_thrown.title+'

'); container.append('

'+error_thrown.message+'

'); -- cgit