From f520829480fe867ea30a482404ee74f86bed7197 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 22 Feb 2011 17:00:50 -0600 Subject: Fixed buttons for DNS records. The order of the Add and Delete buttons has been reversed to be consistent with those in other facets. --- install/ui/policy.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'install') diff --git a/install/ui/policy.js b/install/ui/policy.js index c26dfc5c..c35696b6 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(''); -- cgit