Removed incorrect success message when adding of external member failed
https://fedorahosted.org/freeipa/ticket/3235
This commit is contained in:
1 parent
ea2e4eecac
commit
bf8bae5080
1 file changed
+14
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user