mirror of https://github.com/xwiki-labs/cryptpad
Fix readonly issue in history mode
This commit is contained in:
parent
61df9d5254
commit
945a436eb2
|
@ -883,7 +883,7 @@ define([
|
|||
onEditableChange: evEditableStateChange.reg,
|
||||
|
||||
// Determine whether the UI should be locked for editing.
|
||||
isLocked: function () { return state !== STATE.READY; },
|
||||
isLocked: function () { return state !== STATE.READY || unsyncMode; },
|
||||
|
||||
// Determine whether the pad is a "read only" pad and cannot be changed.
|
||||
isReadOnly: function () { return readOnly; },
|
||||
|
|
Loading…
Reference in New Issue