Skip to content

Commit b10848a

Browse files
committed
#8149 AgentOS.view.StrategyPanelController, AgentOS.view.ViewportController: Neo.Main.windowOpen()
1 parent 94e2fa5 commit b10848a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

apps/agentos/view/StrategyPanelController.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ class StrategyPanelController extends Controller {
196196

197197
await Neo.Main.windowOpen({
198198
url,
199+
windowId,
199200
windowFeatures: `height=${popupHeight},left=${popupLeft},top=${popupTop},width=${popupWidth}`,
200201
windowName : name
201202
});

apps/agentos/view/ViewportController.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ class ViewportController extends Controller {
125125

126126
await Neo.Main.windowOpen({
127127
url,
128+
windowId : this.windowId,
128129
windowName : name,
129130
windowFeatures: 'height=600,width=800,left=50,top=50'
130131
});
@@ -221,6 +222,7 @@ class ViewportController extends Controller {
221222

222223
await Neo.Main.windowOpen({
223224
url,
225+
windowId,
224226
windowFeatures: `height=${popupHeight},left=${popupLeft},top=${popupTop},width=${width}`,
225227
windowName : name
226228
});

0 commit comments

Comments
 (0)