From 2f3dc7908d1c62b729ab38b6d684dc0e942c4528 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 14 Apr 2014 17:01:46 +0200 Subject: [PATCH] webui: move user reset password action to action dropdown Reviewed-By: Endi Sukma Dewata --- install/ui/src/freeipa/user.js | 7 +------ ipatests/test_webui/test_user.py | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index de3841eeb..270f0b2cc 100644 --- a/install/ui/src/freeipa/user.js +++ b/install/ui/src/freeipa/user.js @@ -120,11 +120,6 @@ return { }, { name: 'account', - action_panel: { - $factory: IPA.action_panel, - name: 'account_actions', - actions: ['reset_password'] - }, fields: [ 'uid', { @@ -271,7 +266,7 @@ return { label: '@i18n:actions.automember_rebuild' } ], - header_actions: ['enable', 'disable', 'delete', 'automember_rebuild'], + header_actions: ['reset_password', 'enable', 'disable', 'delete', 'automember_rebuild'], state: { evaluators: [ { diff --git a/ipatests/test_webui/test_user.py b/ipatests/test_webui/test_user.py index 8de0e82c8..766fdafb4 100644 --- a/ipatests/test_webui/test_user.py +++ b/ipatests/test_webui/test_user.py @@ -235,7 +235,7 @@ class test_user(UI_driver): Execute reset password action """ - self.action_panel_action('account_actions', 'reset_password') + self.action_list_action('reset_password', False) self.fill_password_dialog(password) def fill_password_dialog(self, password, current=None):