summaryrefslogtreecommitdiffstats
path: root/install/static/details.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-12-07 12:17:12 -0600
committerAdam Young <ayoung@redhat.com>2010-12-07 17:54:04 -0500
commitdeb94b150dc48d3af2a461e7d325f7c68cceefef (patch)
treec63fbb43db12a3c3b0de65e482af17ef17622bc6 /install/static/details.js
parent9e5fdcb3a4af41282e72d314b65341d9aa209e23 (diff)
downloadfreeipa-deb94b150dc48d3af2a461e7d325f7c68cceefef.tar.gz
freeipa-deb94b150dc48d3af2a461e7d325f7c68cceefef.tar.xz
freeipa-deb94b150dc48d3af2a461e7d325f7c68cceefef.zip
Navigation updates
The entity.default_facet has been removed, instead the first facet registered to the entity will be considered as the default facet. So, the 'setup' parameter has been removed from tab definitions because it's no longer necessary. The ipa_details_only_setup() has been removed as well. An 'entity' parameter has been added to tab definitions to specify which entity corresponds to a tab item. The tab label has been changed to use entity label if available. Some hard-coded labels have been removed. The unit tests have been updated.
Diffstat (limited to 'install/static/details.js')
-rw-r--r--install/static/details.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/install/static/details.js b/install/static/details.js
index cc1a4e19d..d9dc96bce 100644
--- a/install/static/details.js
+++ b/install/static/details.js
@@ -533,10 +533,8 @@ function ipa_details_setup(container) {
function ipa_details_refresh() {
var that = this;
- var entity = IPA.get_entity(that.entity_name);
that.pkey = $.bbq.getState(that.entity_name + '-pkey', true) || '';
- if (!that.pkey && !entity.default_facet) return;
function on_success(data, text_status, xhr) {
that.load(data.result.result);