From 1636d649264348526012b1f699284ad728e8a43d Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 6 May 2011 17:04:09 -0400 Subject: automount UI automount implemented using standard facets and containing_entity pkey generation sample data fixtures for automount. messages for automount and HBAC. modified form of the search facet used to nest the automount entities Add works for nested entities. Delete works for all but keys. Since the API for this is going to change, I'm not going to fix it pre-checkin. All the places the PKEY prefix is needed uses a single function. Added breadcrumb trail into title. update ipa_init sample data add redirect logic for pages without pkeys. add and delete link to appropriate entities for nested search facet. Using on demand entities. Fixed breadcrumbs. --- install/ui/associate.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/ui/associate.js') diff --git a/install/ui/associate.js b/install/ui/associate.js index 4d9e728d1..b237d326f 100644 --- a/install/ui/associate.js +++ b/install/ui/associate.js @@ -1024,11 +1024,12 @@ IPA.association_facet = function (spec) { summary.append('

'+error_thrown.message+'

'); } - var pkey = $.bbq.getState(that.entity_name + '-pkey', true) || ''; + var pkey = IPA.get_entity(that.entity_name).get_primary_key(); + IPA.command({ entity: that.entity_name, method: 'show', - args: [pkey], + args: pkey, options: {'all': true, 'rights': true}, on_success: on_success, on_error: on_error -- cgit