summaryrefslogtreecommitdiffstats
path: root/install/static/entity.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-10-13 13:07:43 -0400
committerAdam Young <ayoung@redhat.com>2010-10-15 12:51:30 -0400
commitacf5f9cad7438268148dff6c6b74d8c63048409a (patch)
tree04b5c2bd2529c68f7ec3cb59bb7f2f0cf19417be /install/static/entity.js
parent538646c04ccbbef8249da3705eb455e63d075589 (diff)
downloadfreeipa-acf5f9cad7438268148dff6c6b74d8c63048409a.tar.gz
freeipa-acf5f9cad7438268148dff6c6b74d8c63048409a.tar.xz
freeipa-acf5f9cad7438268148dff6c6b74d8c63048409a.zip
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.
Diffstat (limited to 'install/static/entity.js')
-rw-r--r--install/static/entity.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/install/static/entity.js b/install/static/entity.js
index c911c0f23..913a751c1 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);
- $('<input />',{
- 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);
}