diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-29 21:01:20 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-29 21:01:20 -0500 |
| commit | 18a201d2cab686e350374413630f93cfa4612b11 (patch) | |
| tree | b1cb600dcd383aa6d1a0cf0c049bb07ed5d7330d /src/client/views/nodes/trails/PresBox.tsx | |
| parent | 48b0153d814cddad71caa8103e7ff4c761b66eaa (diff) | |
exposed menu option to pin Trails and other tree view docs and added open button. Allowed trails to be pinned to or embedded within other trails.
Diffstat (limited to 'src/client/views/nodes/trails/PresBox.tsx')
| -rw-r--r-- | src/client/views/nodes/trails/PresBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index 71c585c38..ec0acf36e 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -1067,7 +1067,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() { setTimeout(() => this.removeDocument(doc), 0); return false; } - } else { + } else if (doc.type !== DocumentType.PRES) { if (!doc.presentation_targetDoc) doc.title = doc.title + ' - Slide'; doc.presentation_targetDoc = doc.createdFrom; // dropped document will be a new embedding of an embedded document somewhere else. doc.presentation_movement = PresMovement.Zoom; |
