Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛? [Frontend bugfix?] Directly switch to service's iframe when its status is running #5948

Merged
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,13 @@ qx.Class.define("osparc.data.model.Node", {
} = osparc.utils.Utils.computeServiceUrl(data);
this.setDynamicV2(isDynamicV2);
if (srvUrl) {
this.__waitForServiceReady(srvUrl);
// this.__waitForServiceReady(srvUrl);
// instead of
// - waiting for the service to be ready (pings) and ...
// - request its frontend to make sure it is ready and ...
// - wait for the "load" event triggered by the content of the iframe
// we will skip those steps and directly switch its iframe
this.__serviceReadyIn(srvUrl);
}
break;
}
Expand Down
Loading