mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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.
This commit is contained in:
committed by
Adam Young
parent
528145d5df
commit
de3cc334ed
@@ -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>');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user