The order of the Add and Delete buttons has been reversed to be
consistent with those in other facets.
--
Endi S. Dewata
From 77070192fec42b64697f8456d1303b6bf722d082 Mon Sep 17 00:00:00 2001
From: Endi S. Dewata edew...@redhat.com
Date: Tue, 22 Feb 2011 17:00:50 -0600
Subject: [PATCH] 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 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/install/ui/policy.js b/install/ui/policy.js
index c26dfc5c574cb4497f6afdb51e27ac233633ba41..c35696b617c3ff1e47688d9b643ea2d7190de84b 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');
--
1.6.6.1
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel