aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMohammad Amoush <mohammad_amoush@brown.edu>2019-07-29 19:54:00 -0400
committerMohammad Amoush <mohammad_amoush@brown.edu>2019-07-29 19:54:00 -0400
commit7b2bbf518779db3d5ef389f6a9f0d41aa2862999 (patch)
tree09c208f80f1b888e180075fa8706f656d1bfc168 /src
parent41583609724911182f2c16b06e61bee6a779bb34 (diff)
trying to get tab
Diffstat (limited to 'src')
-rw-r--r--src/client/views/presentationview/PresentationView.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/presentationview/PresentationView.tsx b/src/client/views/presentationview/PresentationView.tsx
index cd38fc2ec..c583ae4ce 100644
--- a/src/client/views/presentationview/PresentationView.tsx
+++ b/src/client/views/presentationview/PresentationView.tsx
@@ -18,6 +18,7 @@ import { undoBatch, UndoManager } from "../../util/UndoManager";
import PresentationViewList from "./PresentationList";
import { ContextMenu } from "../ContextMenu";
import PresModeMenu from "./PresentationModeMenu";
+import { CollectionDockingView } from "../collections/CollectionDockingView";
library.add(faArrowLeft);
library.add(faArrowRight);
@@ -418,7 +419,8 @@ export class PresentationView extends React.Component<PresViewProps> {
DocumentManager.Instance.jumpToDocument(curDoc, false);
} else {
console.log("Open in tab!!");
- DocumentManager.Instance.jumpToDocument(curDoc, false, undefined, this.props.addDocTab);
+ // DocumentManager.Instance.jumpToDocument(curDoc, false, undefined, this.props.addDocTab);
+ CollectionDockingView.Instance.AddTab(undefined, curDoc, undefined);
}
}