diff options
author | bobzel <zzzman@gmail.com> | 2020-10-13 14:11:24 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-13 14:11:24 -0400 |
commit | d87cd4f20a8b5b4f33d799a4ef42fb14337638a5 (patch) | |
tree | 1afc7eb69d66fa77235807a4049a5c1be4e312cf | |
parent | c5a64930895ed102bdfab16c65527c1e47fb484a (diff) |
fixed jumpToDocument where target is in a collection that isn't shown to display the doc in the colleciton without addinga an extra tab for the target. doc itself.
-rw-r--r-- | src/client/util/DocumentManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts index b37181e57..a408e1df6 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -220,7 +220,7 @@ export class DocumentManager { } } else { // there's no context view so we need to create one first and try again when that finishes createViewFunc(targetDocContext, // after creating the context, this calls the finish function that will retry looking for the target - () => this.jumpToDocument(targetDoc, willZoom, createViewFunc, undefined, linkDoc, true /* if we don't find the target, we want to get rid of the context just created */, undefined, finished)); + () => this.jumpToDocument(targetDoc, willZoom, createViewFunc, docContext, linkDoc, true /* if we don't find the target, we want to get rid of the context just created */, undefined, finished)); } } } |