mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge branch 'soon' into staging
This commit is contained in:
commit
bdbfbaa109
@ -898,7 +898,7 @@ define([
|
||||
var nId = id.slice(0,32);
|
||||
if (users.indexOf(nId) === -1) {
|
||||
// Offline locks: support old format
|
||||
var l = typeof(locks[id]) === "object" ? getUserLock(id) : [locks[id]];
|
||||
var l = (locks[id] && !locks[id].block) ? getUserLock(id) : [locks[id]];
|
||||
ooChannel.send({
|
||||
type: "releaseLock",
|
||||
locks: l
|
||||
@ -1371,6 +1371,7 @@ define([
|
||||
} catch (e) {}
|
||||
} else {
|
||||
setEditable(true);
|
||||
deleteOfflineLocks();
|
||||
handleNewLocks({}, content.locks);
|
||||
if (APP.unsavedChanges) {
|
||||
var unsaved = APP.unsavedChanges;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user