summaryrefslogtreecommitdiffstats
path: root/install/static/search.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/search.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/search.js')
-rw-r--r--install/static/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/static/search.js b/install/static/search.js
index fd123c09..62fffbe9 100644
--- a/install/static/search.js
+++ b/install/static/search.js
@@ -296,7 +296,7 @@ function search_load(container, criteria, on_win, on_fail)
var search_results = $('.search-results', container);
search_results.append('<p>Error: '+error_thrown.name+'</p>');
- search_results.append('<p>URL: '+this.url+'</p>');
+ search_results.append('<p>'+error_thrown.title+'</p>');
search_results.append('<p>'+error_thrown.message+'</p>');
}