summaryrefslogtreecommitdiffstats
path: root/install/ui/entity.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/entity.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/entity.js')
-rw-r--r--install/ui/entity.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/install/ui/entity.js b/install/ui/entity.js
index a4488756e..161f34e6c 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 =
- $("<div/>",{
- "class":'entity-container',
- id: 'entity-container-' + entity.name
- }).
+ $('<div/>').
append(facet_tabs()).
append(content());
return that.entity_container;