debug: log typeof events and JSON.stringify in both parent and iframe
This commit is contained in:
@@ -481,7 +481,7 @@ body {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
appEl.innerHTML = '<div class="test-msg">IT WORKS! events=' + (state.events ? state.events.length : 0) + ' cats=' + (state.categories ? state.categories.length : 0) + '</div>';
|
||||
appEl.innerHTML = '<div class="test-msg">IT WORKS! events=' + (state.events ? state.events.length : 0) + ' cats=' + (state.categories ? state.categories.length : 0) + '<br>eventsType=' + typeof state.events + '<br>json=' + JSON.stringify(state.events).substring(0,100) + '</div>';
|
||||
try { window.parent.go.main.App.WriteDebugLog('[iframe] innerHTML SET SUCCESSFULLY'); } catch(e) {}
|
||||
} catch(e) {
|
||||
try { window.parent.go.main.App.WriteDebugLog('[iframe] innerHTML error: ' + String(e)); } catch(e2) {}
|
||||
|
||||
Reference in New Issue
Block a user