mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 11:46:34 +02:00
commit
37645022f6
2 changed files with 10 additions and 8 deletions
|
@ -252,16 +252,17 @@ function onFinishOnOpenClicked() {
|
|||
}
|
||||
|
||||
function signalBodyLoaded() {
|
||||
EventBridge.emitWebEvent(JSON.stringify({
|
||||
type: EVENT_BRIDGE_TYPE,
|
||||
action: BODY_LOADED_ACTION
|
||||
}));
|
||||
var EVENTBRIDGE_OPEN_DELAY = 500; // Delay required to ensure EventBridge is ready for use.
|
||||
setTimeout(function () {
|
||||
EventBridge.scriptEventReceived.connect(onScriptEventReceived);
|
||||
EventBridge.emitWebEvent(JSON.stringify({
|
||||
type: EVENT_BRIDGE_TYPE,
|
||||
action: BODY_LOADED_ACTION
|
||||
}));
|
||||
}, EVENTBRIDGE_OPEN_DELAY);
|
||||
}
|
||||
|
||||
function onBodyLoaded() {
|
||||
|
||||
EventBridge.scriptEventReceived.connect(onScriptEventReceived);
|
||||
|
||||
elRecordings = document.getElementById("recordings");
|
||||
|
||||
elRecordingsTable = document.getElementById("recordings-table");
|
||||
|
|
|
@ -139,7 +139,8 @@
|
|||
}
|
||||
|
||||
function setMappingCallback(status) {
|
||||
if (status !== "") {
|
||||
// FIXME: "" is for RC <= 63, null is for RC > 63. Remove the former when RC63 is no longer used.
|
||||
if (status !== null && status !== "") {
|
||||
error("Error mapping recording to " + mappingPath + " on Asset Server!", status);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue