diff options
author | Endi S. Dewata <edewata@redhat.com> | 2010-10-06 15:09:14 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2010-10-06 21:30:55 -0400 |
commit | de35a3e341dfe440febaf3cad80f8dde0a6da3a6 (patch) | |
tree | 253495d650bc005ff03b31eb36a8ec46439af431 /install/static/details.js | |
parent | 127ff317cecc43ebb1f21c6a88bc4d4a7e64ea5b (diff) | |
download | freeipa.git-de35a3e341dfe440febaf3cad80f8dde0a6da3a6.tar.gz freeipa.git-de35a3e341dfe440febaf3cad80f8dde0a6da3a6.tar.xz freeipa.git-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/details.js')
-rw-r--r-- | install/static/details.js | 1 |
1 files changed, 1 insertions, 0 deletions
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('<p>Error: '+error_thrown.name+'</p>'); + details.append('<p>URL: '+this.url+'</p>'); details.append('<p>'+error_thrown.message+'</p>'); }; |