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/entity.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'install/ui/entity.js') diff --git a/install/ui/entity.js b/install/ui/entity.js index a4488756..161f34e6 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -282,8 +282,7 @@ IPA.current_facet = function (entity){ return facet_name; }; - -IPA.entity_setup = function (container) { +IPA.entity_setup = function(container) { var entity = this; @@ -303,7 +302,6 @@ IPA.entity_setup = function (container) { IPA.entity_name = entity.name; } - container.attr('title', entity.name); if (!entity.header){ entity.header = IPA.entity_header({entity:entity,container:container}); } @@ -316,7 +314,6 @@ IPA.entity_setup = function (container) { facet.refresh(); }; - IPA.nested_tab_labels = {}; IPA.get_nested_tab_label = function(entity_name){ @@ -538,10 +535,7 @@ IPA.entity_header = function(spec){ function entity_container() { that.entity_container = - $("
",{ - "class":'entity-container', - id: 'entity-container-' + entity.name - }). + $('
'). append(facet_tabs()). append(content()); return that.entity_container; -- cgit