diff options
Diffstat (limited to 'install/ui')
-rw-r--r-- | install/ui/src/freeipa/details.js | 21 | ||||
-rw-r--r-- | install/ui/src/freeipa/dns.js | 2 | ||||
-rw-r--r-- | install/ui/src/freeipa/group.js | 2 | ||||
-rw-r--r-- | install/ui/src/freeipa/hbac.js | 2 | ||||
-rw-r--r-- | install/ui/src/freeipa/host.js | 4 | ||||
-rw-r--r-- | install/ui/src/freeipa/otptoken.js | 2 | ||||
-rw-r--r-- | install/ui/src/freeipa/selinux.js | 2 | ||||
-rw-r--r-- | install/ui/src/freeipa/sudo.js | 2 | ||||
-rw-r--r-- | install/ui/src/freeipa/user.js | 4 |
9 files changed, 10 insertions, 31 deletions
diff --git a/install/ui/src/freeipa/details.js b/install/ui/src/freeipa/details.js index 4d38aa3f1..030c32395 100644 --- a/install/ui/src/freeipa/details.js +++ b/install/ui/src/freeipa/details.js @@ -1367,26 +1367,6 @@ exp.command_builder = function() { }(); /** - * No-op action which serves only for displaying label - * @class details.select_action - * @alternateClassName IPA.select_action - * @extends facet.action - */ -exp.select_action = IPA.select_action = function(spec) { - - spec = spec || {}; - spec.name = spec.name || 'select_action'; - spec.label = spec.label || '-- select action --'; - - var that = IPA.action(spec); - - that.execute_action = function(facet) { - }; - - return that; -}; - -/** * Invokes `facet.refresh` * @class details.refresh_action * @alternateClassName IPA.refresh_action @@ -2007,7 +1987,6 @@ exp.register = function() { var a = reg.action; var f = reg.facet; - a.register('select', exp.select_action); a.register('refresh', exp.refresh_action); a.register('reset', exp.reset_action); a.register('update', exp.update_action); diff --git a/install/ui/src/freeipa/dns.js b/install/ui/src/freeipa/dns.js index 1efdb55a3..a3685b14e 100644 --- a/install/ui/src/freeipa/dns.js +++ b/install/ui/src/freeipa/dns.js @@ -229,7 +229,7 @@ return { 'dns_add_permission', 'dns_remove_permission' ], - header_actions: ['select_action', 'enable', 'disable', 'delete', + header_actions: ['enable', 'disable', 'delete', 'add_permission', 'remove_permission'], state: { evaluators: [ diff --git a/install/ui/src/freeipa/group.js b/install/ui/src/freeipa/group.js index bb12d902f..f13b810f5 100644 --- a/install/ui/src/freeipa/group.js +++ b/install/ui/src/freeipa/group.js @@ -77,7 +77,7 @@ return { 'make_external', 'delete' ], - header_actions: ['select_action', 'make_posix', 'make_external', 'delete'], + header_actions: ['make_posix', 'make_external', 'delete'], state: { evaluators: [ IPA.object_class_evaluator diff --git a/install/ui/src/freeipa/hbac.js b/install/ui/src/freeipa/hbac.js index e8809f037..6161942b9 100644 --- a/install/ui/src/freeipa/hbac.js +++ b/install/ui/src/freeipa/hbac.js @@ -81,7 +81,7 @@ var spec = { 'disable', 'delete' ], - header_actions: ['select_action', 'enable', 'disable', 'delete'], + header_actions: ['enable', 'disable', 'delete'], state: { evaluators: [ { diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js index c550e528d..f25a4cc13 100644 --- a/install/ui/src/freeipa/host.js +++ b/install/ui/src/freeipa/host.js @@ -73,7 +73,7 @@ return { label: '@i18n:actions.automember_rebuild' } ], - header_actions: ['select_action', 'automember_rebuild'] + header_actions: ['automember_rebuild'] }, { $type: 'details', @@ -194,7 +194,7 @@ return { 'cert_revoke', 'cert_restore' ], - header_actions: ['select_action', 'automember_rebuild'], + header_actions: ['automember_rebuild'], state: { evaluators: [ IPA.host.has_password_evaluator, diff --git a/install/ui/src/freeipa/otptoken.js b/install/ui/src/freeipa/otptoken.js index 022030b97..a0c2cc1b3 100644 --- a/install/ui/src/freeipa/otptoken.js +++ b/install/ui/src/freeipa/otptoken.js @@ -144,7 +144,7 @@ return { }, 'delete' ], - header_actions: ['select_action', 'otp_enable', 'otp_disable', 'delete'], + header_actions: ['otp_enable', 'otp_disable', 'delete'], state: { evaluators: [ { diff --git a/install/ui/src/freeipa/selinux.js b/install/ui/src/freeipa/selinux.js index 62b081fad..9a74a45af 100644 --- a/install/ui/src/freeipa/selinux.js +++ b/install/ui/src/freeipa/selinux.js @@ -79,7 +79,7 @@ var spec = { 'disable', 'delete' ], - header_actions: ['select_action', 'enable', 'disable', 'delete'], + header_actions: ['enable', 'disable', 'delete'], state: { evaluators: [ { diff --git a/install/ui/src/freeipa/sudo.js b/install/ui/src/freeipa/sudo.js index d1ab20a93..58c01fcb2 100644 --- a/install/ui/src/freeipa/sudo.js +++ b/install/ui/src/freeipa/sudo.js @@ -81,7 +81,7 @@ var spec = { 'disable', 'delete' ], - header_actions: ['select_action', 'enable', 'disable', 'delete'], + header_actions: ['enable', 'disable', 'delete'], state: { evaluators: [ { diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index c0a2d2706..de3841eeb 100644 --- a/install/ui/src/freeipa/user.js +++ b/install/ui/src/freeipa/user.js @@ -83,7 +83,7 @@ return { hide_cond: ['self-service'] } ], - header_actions: ['select_action', 'automember_rebuild'], + header_actions: ['automember_rebuild'], control_buttons: [ { name: 'disable', @@ -271,7 +271,7 @@ return { label: '@i18n:actions.automember_rebuild' } ], - header_actions: ['select_action', 'enable', 'disable', 'delete', 'automember_rebuild'], + header_actions: ['enable', 'disable', 'delete', 'automember_rebuild'], state: { evaluators: [ { |