Problem with double click on Table in Window.Lookup. #PL-2248

This commit is contained in:
Yuriy Artamonov 2013-10-22 07:05:13 +00:00
parent fb700239b5
commit a5ee12eee3

View File

@ -517,6 +517,8 @@ public abstract class WebAbstractTable<T extends com.haulmont.cuba.web.toolkit.u
}
if (action != null && action.isEnabled()) {
Window window = ComponentsHelper.getWindow(WebAbstractTable.this);
if (window instanceof Window.Wrapper)
window = ((Window.Wrapper) window).getWrappedWindow();
if (!(window instanceof Window.Lookup)) {
action.actionPerform(WebAbstractTable.this);