From aa7ecb6f5ff234fa9001bbea3ebe2e5360656139 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 1 Oct 2010 12:53:13 -0500 Subject: Autogenerating Quick Links. ipa_entity_quick_links() has been added to generate quick links automatically from object's attribute_members, the same logic used for generating facet list. The search definition for each entity has been updated to use the new function. A unit test has been added for this function. --- install/static/test/ipa_tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/static/test/ipa_tests.js') diff --git a/install/static/test/ipa_tests.js b/install/static/test/ipa_tests.js index 8617a843..58315585 100644 --- a/install/static/test/ipa_tests.js +++ b/install/static/test/ipa_tests.js @@ -27,11 +27,11 @@ test("Testing ipa_init().", function() { ipa_init( "data", true, - function(data, status, xhr) { + function(data, text_status, xhr) { ok(true, "ipa_init() succeeded."); }, - function(xhr, options, thrownError) { - ok(false, "ipa_init() failed: "+thrownError); + function(xhr, text_status, error_thrown) { + ok(false, "ipa_init() failed: "+error_thrown); } ); }); -- cgit