From de3cc334eddff26a743e537f10055e5d6398ffa5 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 28 Oct 2010 09:50:34 -0500 Subject: Dialog boxes for AJAX, HTTP, and IPA errors. The ipa_cmd() has been modified to identity the type of the error it has received and display the error using the right dialog box. The dialog box can be customized further to display the appropriate amount of information for each type of error. --- install/static/webui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/static/webui.js') diff --git a/install/static/webui.js b/install/static/webui.js index 42c559dc..804f06f8 100644 --- a/install/static/webui.js +++ b/install/static/webui.js @@ -94,7 +94,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.title+'

'); navigation.append('

'+error_thrown.message+'

'); } -- cgit