diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-10-24 14:19:44 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-10-24 14:19:44 +0300 |
commit | 9cf3c3fdee9a672a17b219c2a7390c993e73947a (patch) | |
tree | 370f69442c555c7a7a7e106ea8d175208cf1a5a9 | |
parent | f772a056a82cecc526aeea1303bdf6d2598e3d7e (diff) |
Hand over proper format for timeout message
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | src/document.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/document.js b/src/document.js index d49356d6..f0f86bd7 100644 --- a/src/document.js +++ b/src/document.js @@ -214,7 +214,8 @@ const documentsMain = { // In case of editor inactivity setTimeout(function() { if (!documentsMain.isFrameReady) { - editorInitListener({ data: '{"MessageId": "App_LoadingStatus", "Values": {"Status": "Timeout"}}' }) + const message = { 'MessageId': 'App_LoadingStatus', 'Values': { 'Status': 'Timeout' } } + editorInitListener({ data: JSON.stringify(message), parsed: message }) } }, 15000) }) |