Merge branch 'staging' into communities-allow-list

This commit is contained in:
ansuz
2020-02-21 08:40:45 -05:00
12 changed files with 103 additions and 42 deletions

View File

@@ -110,7 +110,7 @@ define([
window.frames[0].editor.asc_setViewMode(!state);
//window.frames[0].editor.setViewModeDisconnect(true);
} catch (e) {}
if (!state) {
if (!state && !readOnly) {
$('#cp-app-oo-editor').append(h('div#cp-app-oo-offline'));
}
debug(state);