some autocompletefixes
This commit is contained in:
parent
e54f659849
commit
e6c25f1abd
src/main/java/se/su/dsv/scipro/reusable
@ -71,7 +71,8 @@ public abstract class AuthorAutoComplete extends AbstractRoleAutoCompleteCompone
|
||||
return authorDao.getAutoCompleteAuthors(input, 6).iterator();
|
||||
}
|
||||
|
||||
protected void beforeOnNewSelectionChecker(AjaxRequestTarget pTarget, Student newSelection) {
|
||||
@Override
|
||||
protected void onNewSelection(AjaxRequestTarget pTarget, Student newSelection) {
|
||||
super.onNewSelection(pTarget, newSelection);
|
||||
if (newSelection != null) {
|
||||
if (pTarget != null) {
|
||||
|
@ -69,7 +69,8 @@ public abstract class EmployeeAutoComplete extends AbstractRoleAutoCompleteCompo
|
||||
return supervisorDao.getAutoCompleteCapableSupervisors(input, 6).iterator();
|
||||
}
|
||||
|
||||
protected void beforeOnNewSelectionChecker(AjaxRequestTarget pTarget, Employee newSelection) {
|
||||
@Override
|
||||
protected void onNewSelection(AjaxRequestTarget pTarget, Employee newSelection) {
|
||||
super.onNewSelection(pTarget, newSelection);
|
||||
if (newSelection != null) {
|
||||
if (pTarget != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user