summaryrefslogtreecommitdiffstats
path: root/install/static/associate.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-10-06 15:09:14 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2010-10-06 21:30:55 -0400
commitde35a3e341dfe440febaf3cad80f8dde0a6da3a6 (patch)
tree253495d650bc005ff03b31eb36a8ec46439af431 /install/static/associate.js
parent127ff317cecc43ebb1f21c6a88bc4d4a7e64ea5b (diff)
downloadfreeipa-de35a3e341dfe440febaf3cad80f8dde0a6da3a6.tar.gz
freeipa-de35a3e341dfe440febaf3cad80f8dde0a6da3a6.tar.xz
freeipa-de35a3e341dfe440febaf3cad80f8dde0a6da3a6.zip
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.
Diffstat (limited to 'install/static/associate.js')
-rw-r--r--install/static/associate.js1
1 files changed, 1 insertions, 0 deletions
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('<p>Error: '+error_thrown.name+'</p>');
+ search_results.append('<p>URL: '+this.url+'</p>');
search_results.append('<p>'+error_thrown.message+'</p>');
}