mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-04 20:28:00 +08:00
Problem with double click on Table in Window.Lookup. #PL-2248
This commit is contained in:
parent
fb700239b5
commit
a5ee12eee3
@ -517,6 +517,8 @@ public abstract class WebAbstractTable<T extends com.haulmont.cuba.web.toolkit.u
|
|||||||
}
|
}
|
||||||
if (action != null && action.isEnabled()) {
|
if (action != null && action.isEnabled()) {
|
||||||
Window window = ComponentsHelper.getWindow(WebAbstractTable.this);
|
Window window = ComponentsHelper.getWindow(WebAbstractTable.this);
|
||||||
|
if (window instanceof Window.Wrapper)
|
||||||
|
window = ((Window.Wrapper) window).getWrappedWindow();
|
||||||
|
|
||||||
if (!(window instanceof Window.Lookup)) {
|
if (!(window instanceof Window.Lookup)) {
|
||||||
action.actionPerform(WebAbstractTable.this);
|
action.actionPerform(WebAbstractTable.this);
|
||||||
|
Loading…
Reference in New Issue
Block a user