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/webui.js | 1 + 1 file changed, 1 insertion(+) (limited to 'install/static/webui.js') diff --git a/install/static/webui.js b/install/static/webui.js index fa37bcdd..95809556 100644 --- a/install/static/webui.js +++ b/install/static/webui.js @@ -86,6 +86,7 @@ $(function() { function init_on_error(xhr, text_status, error_thrown) { var navigation = $('#navigation').empty(); navigation.append('

Error: '+error_thrown.name+'

'); + navigation.append('

URL: '+this.url+'

'); navigation.append('

'+error_thrown.message+'

'); } -- cgit