mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Removed incorrect success message when adding of external member failed
https://fedorahosted.org/freeipa/ticket/3235
This commit is contained in:
parent
ea2e4eecac
commit
bf8bae5080
@ -169,6 +169,20 @@ IPA.attribute_adder_dialog = function(spec) {
|
||||
that.buttons.remove('add_and_edit');
|
||||
};
|
||||
|
||||
that.on_add = function() {
|
||||
|
||||
that.hide_message();
|
||||
that.add(
|
||||
function(data, text_status, xhr) {
|
||||
if (data.result.completed > 0) {
|
||||
that.added.notify();
|
||||
that.close();
|
||||
that.notify_success(data);
|
||||
}
|
||||
},
|
||||
that.on_error);
|
||||
};
|
||||
|
||||
that.create_buttons();
|
||||
|
||||
return that;
|
||||
|
Loading…
Reference in New Issue
Block a user