Fix readOnly mode in spreadsheets
This commit is contained in:
parent
4fee896b5d
commit
d3939e87b2
@ -110,7 +110,7 @@ define([
|
|||||||
window.frames[0].editor.asc_setViewMode(!state);
|
window.frames[0].editor.asc_setViewMode(!state);
|
||||||
//window.frames[0].editor.setViewModeDisconnect(true);
|
//window.frames[0].editor.setViewModeDisconnect(true);
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
if (!state) {
|
if (!state && !readOnly) {
|
||||||
$('#cp-app-oo-editor').append(h('div#cp-app-oo-offline'));
|
$('#cp-app-oo-editor').append(h('div#cp-app-oo-offline'));
|
||||||
}
|
}
|
||||||
debug(state);
|
debug(state);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user