mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
ComponentsHelper.getWindow() should return controller instance. #PL-2240
This commit is contained in:
parent
cf7a4f5b9d
commit
3dd77b291f
@ -496,6 +496,9 @@ public class WebWindowManager extends WindowManager {
|
||||
if (tabSheet == null)
|
||||
return; // for SINGLE tabbing mode
|
||||
|
||||
if (window instanceof Window.Wrapper) {
|
||||
window = ((Window.Wrapper) window).getWrappedWindow();
|
||||
}
|
||||
WindowOpenMode openMode = getWindowOpenMode().get(window);
|
||||
if (openMode == null || OpenType.DIALOG.equals(openMode.getOpenType()))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user