summaryrefslogtreecommitdiffstats
path: root/install/static/webui.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-10-28 09:50:34 -0500
committerAdam Young <ayoung@redhat.com>2010-10-28 13:11:51 -0400
commitde3cc334eddff26a743e537f10055e5d6398ffa5 (patch)
tree2797686cf46ee9cef146351eb4aabb64a98bb87c /install/static/webui.js
parent528145d5df30d4b344cd0edafa8e8adba0b817b1 (diff)
downloadfreeipa-de3cc334eddff26a743e537f10055e5d6398ffa5.tar.gz
freeipa-de3cc334eddff26a743e537f10055e5d6398ffa5.tar.xz
freeipa-de3cc334eddff26a743e537f10055e5d6398ffa5.zip
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.
Diffstat (limited to 'install/static/webui.js')
-rw-r--r--install/static/webui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/static/webui.js b/install/static/webui.js
index 42c559dce..804f06f86 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('<p>Error: '+error_thrown.name+'</p>');
- navigation.append('<p>URL: '+this.url+'</p>');
+ navigation.append('<p>'+error_thrown.title+'</p>');
navigation.append('<p>'+error_thrown.message+'</p>');
}