fixed default action
This commit is contained in:
parent
d35fbed73d
commit
2eff9ff962
1 changed files with 5 additions and 0 deletions
|
@ -213,6 +213,11 @@ public class EntityTable<ROW extends ModelIdAware> {
|
||||||
if (selection != null) {
|
if (selection != null) {
|
||||||
this.pageService.executePageAction(
|
this.pageService.executePageAction(
|
||||||
defaultAction.withEntityKey(selection));
|
defaultAction.withEntityKey(selection));
|
||||||
|
} else {
|
||||||
|
final TableItem[] item = this.table.getSelection();
|
||||||
|
if (item != null && item.length > 0) {
|
||||||
|
this.pageService.executePageAction(defaultAction);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue