fixed some saves
This commit is contained in:
parent
ff2278e3ac
commit
64cb6306a3
@ -127,7 +127,7 @@ public class UserSettingsPanel extends Panel {
|
|||||||
public void onSubmit(){
|
public void onSubmit(){
|
||||||
// UserSettings userSettings = userSettingsDao.reLoad(getModelObject());
|
// UserSettings userSettings = userSettingsDao.reLoad(getModelObject());
|
||||||
SciProSession.get().setActiveProject(userSettings.getActiveProject());
|
SciProSession.get().setActiveProject(userSettings.getActiveProject());
|
||||||
userSettingsDao.save(userSettings);
|
userSettings = userSettingsDao.save(userSettings);
|
||||||
setResponsePage(this.getPage().getClass(),this.getPage().getPageParameters());
|
setResponsePage(this.getPage().getClass(),this.getPage().getPageParameters());
|
||||||
}
|
}
|
||||||
}//UserSettingsForm
|
}//UserSettingsForm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user