webui: notify psw change success only once

Password change initiated from header menu notified success twice.
First one in `dialogs.password.dialog` and second one in a success
callback. The second notification was removed.

Caused by:
https://fedorahosted.org/freeipa/changeset/870db2f677dff01750aeec104c90fce3ca0e54be/

Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
Petr Vobornik 2014-08-29 10:33:23 +02:00
parent f70eafaedb
commit ad6001fc2e

View File

@ -632,8 +632,6 @@ IPA.password_selfservice = function() {
IPA.update_password_expiration();
};
command.execute();
IPA.notify_success(text.get('@i18n:password.password_change_complete'));
});
reset_dialog.open();
};