From fea4d3880ae78dd1e53380bc644638e4e3fc1dd5 Mon Sep 17 00:00:00 2001 From: Kyle Baker Date: Thu, 9 Dec 2010 16:32:22 -0500 Subject: button and table styling replaced expand contract +- with icons removed background for action buttons and gave them their own class Major css cleanup --- install/static/associate.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install/static/associate.js') diff --git a/install/static/associate.js b/install/static/associate.js index 540b1a80..ffec9516 100644 --- a/install/static/associate.js +++ b/install/static/associate.js @@ -317,14 +317,14 @@ function ipa_association_table_widget(spec) { that.table_setup(container); var button = $('input[name=remove]', container); - button.replaceWith(ipa_button({ + button.replaceWith(IPA.action_button({ 'label': button.val(), 'icon': 'ui-icon-trash', 'click': function() { that.show_remove_dialog(); } })); button = $('input[name=add]', container); - button.replaceWith(ipa_button({ + button.replaceWith(IPA.action_button({ 'label': button.val(), 'icon': 'ui-icon-plus', 'click': function() { that.show_add_dialog() } @@ -679,14 +679,14 @@ function ipa_association_facet(spec) { var action_panel = that.get_action_panel(); var button = $('input[name=remove]', action_panel); - button.replaceWith(ipa_button({ + button.replaceWith(IPA.action_button({ 'label': button.val(), 'icon': 'ui-icon-trash', 'click': function() { that.show_remove_dialog(); } })); button = $('input[name=add]', action_panel); - button.replaceWith(ipa_button({ + button.replaceWith(IPA.action_button({ 'label': button.val(), 'icon': 'ui-icon-plus', 'click': function() { that.show_add_dialog() } -- cgit