mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
PL-8104 OpenType.NEW_WINDOW mode for the web client must work like the NEW_TAB mode
This commit is contained in:
parent
dc7c052ea7
commit
1e80e261b6
@ -168,6 +168,7 @@ public class WebWindowManager extends WindowManager {
|
||||
if (openInfo != null) {
|
||||
OpenMode openMode = openInfo.getOpenMode();
|
||||
if (openMode == OpenMode.NEW_TAB
|
||||
|| openMode == OpenMode.NEW_WINDOW
|
||||
|| openMode == OpenMode.THIS_TAB) {
|
||||
// show in tabsheet
|
||||
Layout layout = (Layout) openInfo.getData();
|
||||
@ -955,6 +956,8 @@ public class WebWindowManager extends WindowManager {
|
||||
fireListeners(window, tabs.size() != 0);
|
||||
break;
|
||||
}
|
||||
|
||||
case NEW_WINDOW:
|
||||
case NEW_TAB: {
|
||||
final Layout layout = (Layout) openInfo.getData();
|
||||
layout.removeComponent(WebComponentsHelper.getComposition(window));
|
||||
|
Loading…
Reference in New Issue
Block a user