From 20ad8fe1ba9b4a0f8ca9e365ac782895f6698c71 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 9 Nov 2011 18:48:04 -0600 Subject: Removed develop.js. The develop.js is no longer necessary because the code in it has been merged into the main code. An empty extension.js has been added to provide a place for UI customization. Ticket #2099 --- install/ui/test/entity_tests.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'install/ui/test/entity_tests.js') diff --git a/install/ui/test/entity_tests.js b/install/ui/test/entity_tests.js index 12a1fcae..84a5e28f 100644 --- a/install/ui/test/entity_tests.js +++ b/install/ui/test/entity_tests.js @@ -27,10 +27,9 @@ module('entity',{ IPA.ajax_options.async = false; - IPA.init( - "data", - true, - function(data, text_status, xhr) { + IPA.init({ + url: 'data', + on_success: function(data, text_status, xhr) { IPA.entity_factories.user = function(){ return IPA. @@ -41,10 +40,10 @@ module('entity',{ build(); }; }, - function(xhr, text_status, error_thrown) { + on_error: function(xhr, text_status, error_thrown) { ok(false, "ipa_init() failed: "+error_thrown); } - ); + }); entities_container = $('
').appendTo(document.body); -- cgit