Skip to content
Snippets Groups Projects
Commit 6e1f498d authored by gnaegi's avatar gnaegi
Browse files

OO-1513 do not reset form in failed event - clears all errors. Do this only in cancel event

parent eaa080dd
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ public class ProfileAndHomePageEditController extends BasicController implements
protected void event(UserRequest ureq, Controller source, Event event) {
if(profileFormController == source) {
identityToModify = profileFormController.getIdentityToModify();
if(Event.FAILED_EVENT.equals(event)) {
if(Event.CANCELLED_EVENT.equals(event)) {
resetForm(ureq);
}
if(homePageController != null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment