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/details.js | 1 + 1 file changed, 1 insertion(+) (limited to 'install/static/details.js') diff --git a/install/static/details.js b/install/static/details.js index 99666b10..62c5c5eb 100644 --- a/install/static/details.js +++ b/install/static/details.js @@ -121,6 +121,7 @@ function ipa_details_load(jobj, pkey, on_win, on_fail) var details = $('.details', jobj).empty(); details.append('

Error: '+error_thrown.name+'

'); + details.append('

URL: '+this.url+'

'); details.append('

'+error_thrown.message+'

'); }; -- cgit