Fixed buttons for DNS records.

The order of the Add and Delete buttons has been reversed to be
consistent with those in other facets.
This commit is contained in:
Endi S. Dewata 2011-02-22 17:00:50 -06:00 committed by Adam Young
parent e5cda47447
commit f520829480

View File

@ -324,15 +324,15 @@ IPA.records_facet = function (spec){
IPA.action_button({ IPA.action_button({
'label': IPA.messages.buttons.add, label: IPA.messages.buttons.remove,
'icon': 'ui-icon-plus', icon: 'ui-icon-trash',
'click': add_click click: function(){ delete_records(records_table); }
}).appendTo(action_controls); }).appendTo(action_controls);
IPA.action_button({ IPA.action_button({
'label': IPA.messages.buttons.remove, label: IPA.messages.buttons.add,
'icon': 'ui-icon-trash', icon: 'ui-icon-plus',
'click': function(){delete_records(records_table);} click: add_click
}).appendTo(action_controls); }).appendTo(action_controls);
div.append('<span class="records-buttons"></span>'); div.append('<span class="records-buttons"></span>');