From de35a3e341dfe440febaf3cad80f8dde0a6da3a6 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 6 Oct 2010 15:09:14 -0500 Subject: Displaying AJAX URL in error message. The ipa_error_handler() has been modified to display the AJAX URL that is having a problem. The ipa_cmd() error handler is now invoked using call() to pass 'this' object which contains the URL. --- install/static/associate.js | 1 + 1 file changed, 1 insertion(+) (limited to 'install/static/associate.js') diff --git a/install/static/associate.js b/install/static/associate.js index 826641a7..49f2fd5d 100644 --- a/install/static/associate.js +++ b/install/static/associate.js @@ -244,6 +244,7 @@ function AssociationList(obj, pkey, manyObj, associationColumns, jobj, associati function refresh_on_error(xhr, text_status, error_thrown) { var search_results = $('.search-results', jobj).empty(); search_results.append('

Error: '+error_thrown.name+'

'); + search_results.append('

URL: '+this.url+'

'); search_results.append('

'+error_thrown.message+'

'); } -- cgit