From 6faca87e73f55d00dd3e16b58065e40e6ec1ec30 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 23 May 2017 15:54:04 +0200 Subject: [PATCH] set preview content in read only mode --- www/code/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/code/main.js b/www/code/main.js index 6c9fbd0e1..fa6ecf12b 100644 --- a/www/code/main.js +++ b/www/code/main.js @@ -304,7 +304,10 @@ define([ onLocal(); // push local state to avoid parse errors later. - if (readOnly) { return; } + if (readOnly) { + config.onRemote(); + return; + } UserList.getLastName(toolbar.$userNameButton, isNew); };