diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-28 15:03:55 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-28 15:03:55 -0400 |
commit | 5919895229b900ce3efda9fbbbae8f710fa6bd4f (patch) | |
tree | a9f8b31c0c95342b9dbe135c90a61752c71ccb94 /src/fields/Doc.ts | |
parent | d118a988d5233a282cea4f878ee4a569c2d413fc (diff) | |
parent | 7a78bc39fa2b005d67499bcd6baf19b9dce0eb18 (diff) |
Merge branch 'master' into anika_schema_view
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 231ee88e3..dd7117594 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -1159,7 +1159,6 @@ Scripting.addGlobal(function activePresentationItem() { const curPres = Doc.UserDoc().activePresentation as Doc; return curPres && DocListCast(curPres[Doc.LayoutFieldKey(curPres)])[NumCast(curPres._itemIndex)]; }); -Scripting.addGlobal(function selectDoc(doc: any) { Doc.UserDoc().activeSelection = new List([doc]); }); Scripting.addGlobal(function selectedDocs(container: Doc, excludeCollections: boolean, prevValue: any) { const docs = DocListCast(Doc.UserDoc().activeSelection). filter(d => !Doc.AreProtosEqual(d, container) && !d.annotationOn && d.type !== DocumentType.DOCHOLDER && d.type !== DocumentType.KVP && |