Skip to content

Commit 96e627f

Browse files
committed
one more check
1 parent 58ff54f commit 96e627f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

services/static-webserver/client/source/class/osparc/desktop/WorkbenchView.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,15 @@ qx.Class.define("osparc.desktop.WorkbenchView", {
7373
} else if (src === null || src === "about:blank") {
7474
showPage = node.getLoadingPage();
7575
}
76-
iframeLayout.add(showPage, {
77-
flex: 1
78-
});
76+
if (iframeLayout.add) {
77+
iframeLayout.add(showPage, {
78+
flex: 1
79+
});
80+
} else if (iframeLayout._add) {
81+
iframeLayout._add(showPage, {
82+
flex: 1
83+
});
84+
}
7985
}
8086
},
8187

0 commit comments

Comments
 (0)