summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-02-22 17:00:50 -0600
committerAdam Young <ayoung@redhat.com>2011-02-23 11:18:00 -0500
commitf520829480fe867ea30a482404ee74f86bed7197 (patch)
tree2dc18e5ffc7431437e521e3c12c2953f18dc6ed8 /install
parente5cda47447495329ad7891987bfc132142e595b2 (diff)
downloadfreeipa-f520829480fe867ea30a482404ee74f86bed7197.tar.gz
freeipa-f520829480fe867ea30a482404ee74f86bed7197.tar.xz
freeipa-f520829480fe867ea30a482404ee74f86bed7197.zip
Fixed buttons for DNS records.
The order of the Add and Delete buttons has been reversed to be consistent with those in other facets.
Diffstat (limited to 'install')
-rw-r--r--install/ui/policy.js12
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>');