diff options
author | geireann <60007097+geireann@users.noreply.github.com> | 2020-10-23 15:34:11 +0800 |
---|---|---|
committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-10-23 15:34:11 +0800 |
commit | b0a272ba3c258599b414ffe85667945bcb385705 (patch) | |
tree | 1f3722a8f7724d3eaa76c619521a151c674eadab /src/client/util/CurrentUserUtils.ts | |
parent | ac84d41faf25df288c55aab53a2e5c667ac00bcb (diff) | |
parent | 5fdc26ef1dcf7ea1260ee6ea05a38b7f3746eb25 (diff) |
Merge branch 'master' into presentation_v1
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index 07447b93c..5886aa13f 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -1125,7 +1125,7 @@ export class CurrentUserUtils { DocListCastAsync(importDocs.data).then(async list => { const results = await DocUtils.uploadFilesToDocs(Array.from(input.files || []), {}); if (results.length !== input.files?.length) { - alert("Error uploading files - possibly due to unsupported file types") + alert("Error uploading files - possibly due to unsupported file types"); } list?.splice(0, 0, ...results); disposer(); @@ -1212,7 +1212,5 @@ Scripting.addGlobal(function createNewPresentation() { return MainView.Instance. "creates a new presentation when called"); Scripting.addGlobal(function links(doc: any) { return new List(LinkManager.Instance.getAllRelatedLinks(doc)); }, "returns all the links to the document or its annotations", "(doc: any)"); -Scripting.addGlobal(function directLinks(doc: any) { return new List(LinkManager.Instance.getAllDirectLinks(doc)); }, - "returns all the links directly to the document", "(doc: any)"); Scripting.addGlobal(function importDocument() { return CurrentUserUtils.importDocument(); }, "imports files from device directly into the import sidebar"); |