diff options
author | bobzel <zzzman@gmail.com> | 2025-05-16 11:46:22 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-05-16 11:46:22 -0400 |
commit | 2c26d7c96e56344a1a73a7c6f6dec3d6b0f0ee7e (patch) | |
tree | 711b88a3c257d3fc5e5e71fd87cf1c8cebdbcd23 /src/client/util/DocumentManager.ts | |
parent | 3741baee864a8bec757b4e50a58698a0064293be (diff) |
changed isGroup to freeform_isGroup to fix issues with groups that are changed into other collection types. fixed toggleTarget links to work when opening in a light box (previously they flickered on, then off). fixed text boxes with a number field as data to act like a number input box.
Diffstat (limited to 'src/client/util/DocumentManager.ts')
-rw-r--r-- | src/client/util/DocumentManager.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts index 422613968..1c2ffab1b 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -274,6 +274,7 @@ export class DocumentManager { // even if we found the document view, if the target is a lightbox, we try to open it in the lightbox to preserve lightbox semantics (eg, there's only one active doc in the lightbox) const target = DocCast(targetDoc.annotationOn, targetDoc)!; const compView = this.getDocumentView(DocCast(target.embedContainer))?.ComponentView; + options.didMove = target.hidden || options.didMove ? true : false; if ((compView?.addDocTab ?? compView?._props.addDocTab)?.(target, options.openLocation)) { await new Promise<void>(waitres => { setTimeout(() => waitres()); |