Also ignore MoveCursor ops as non-document-modifying ops
This commit is contained in:
parent
13df7fe90b
commit
880101b221
@ -428,7 +428,7 @@ runtime.log("Pushing activated");
|
|||||||
}
|
}
|
||||||
|
|
||||||
// note if any local ops modified TODO: find less fragile way, perhaps have the operationFactory check it?
|
// note if any local ops modified TODO: find less fragile way, perhaps have the operationFactory check it?
|
||||||
hasPushedModificationOps = hasPushedModificationOps || !/^(AddCursor|RemoveCursor)$/.test(opspec.optype);
|
hasPushedModificationOps = hasPushedModificationOps || !/^(AddCursor|MoveCursor|RemoveCursor)$/.test(opspec.optype);
|
||||||
|
|
||||||
// apply locally
|
// apply locally
|
||||||
opspec.timestamp = (new Date()).getTime();
|
opspec.timestamp = (new Date()).getTime();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user