diff options
Diffstat (limited to 'install/ui/policy.js')
-rw-r--r-- | install/ui/policy.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js index c26dfc5c5..c35696b61 100644 --- a/install/ui/policy.js +++ b/install/ui/policy.js @@ -324,15 +324,15 @@ IPA.records_facet = function (spec){ IPA.action_button({ - 'label': IPA.messages.buttons.add, - 'icon': 'ui-icon-plus', - 'click': add_click + label: IPA.messages.buttons.remove, + icon: 'ui-icon-trash', + click: function(){ delete_records(records_table); } }).appendTo(action_controls); IPA.action_button({ - 'label': IPA.messages.buttons.remove, - 'icon': 'ui-icon-trash', - 'click': function(){delete_records(records_table);} + label: IPA.messages.buttons.add, + icon: 'ui-icon-plus', + click: add_click }).appendTo(action_controls); div.append('<span class="records-buttons"></span>'); |