From acf5f9cad7438268148dff6c6b74d8c63048409a Mon Sep 17 00:00:00 2001 From: Adam Young Date: Wed, 13 Oct 2010 13:07:43 -0400 Subject: multivalue fixes metadata for phone numbers test date for users Undo works for multivalue JQuery UI buttons have custom classes inputs/fields are now managed inside of objects removed the use of .call. as it was confusing the issue of mismatched parameter lists. Fixed the parameter lists, too. --- install/static/entity.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'install/static/entity.js') diff --git a/install/static/entity.js b/install/static/entity.js index c911c0f2..913a751c 100644 --- a/install/static/entity.js +++ b/install/static/entity.js @@ -23,7 +23,9 @@ var ipa_entity_search_list = {}; var ipa_entity_add_list = {}; -var ipa_entity_details_list = {}; + +//moving this to details +//var ipa_entity_details_list = {}; var ipa_entity_association_list = {}; /* use this to track individual changes between two hashchange events */ @@ -139,11 +141,9 @@ function _ipa_entity_setup(container, unspecified) { var filter = $.bbq.getState(obj_name + '-filter', true) || ''; search_create(obj_name, ipa_entity_search_list[obj_name], container); - $('',{ - type:"submit", - value: ipa_messages.button.add, - click:new_on_click - }).appendTo($( "div#" + obj_name + " > div.search-controls")); + ipa_make_button( 'ui-icon-plus',ipa_messages.button.add). + click(new_on_click). + appendTo($( "div#" + obj_name + " > div.search-controls")) search_load(container, filter, null, null); } -- cgit