aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionDockingView.tsx
diff options
context:
space:
mode:
authorSam Wilkins <abdullah_ahmed@brown.edu>2019-03-17 13:27:33 -0400
committerSam Wilkins <abdullah_ahmed@brown.edu>2019-03-17 13:27:33 -0400
commitbc97c3d8b057ec73f6726c31cf8bbe37e679e0d0 (patch)
tree10031eb180ffde65538b617a7fec74b8be9d3bd1 /src/client/views/collections/CollectionDockingView.tsx
parent978c2139753e677020d6d3e149ebe51b6443b1dc (diff)
parent47da497aded0bafdc5c85c8a79a9a06d0d401e92 (diff)
merged with master, resolved conflicts and reformatted workspace menu
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
-rw-r--r--src/client/views/collections/CollectionDockingView.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx
index b5cafe681..19788447e 100644
--- a/src/client/views/collections/CollectionDockingView.tsx
+++ b/src/client/views/collections/CollectionDockingView.tsx
@@ -212,6 +212,12 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp
stack.remove();
//}
}));
+ stack.header.controlsContainer.find('.lm_popout') //get the close icon
+ .off('click') //unbind the current click handler
+ .click(action(function () {
+ var url = "http://localhost:1050/doc/" + stack.contentItems[0].tab.contentItem.config.props.documentId;
+ let win = window.open(url, stack.contentItems[0].tab.title, "width=300,height=400");
+ }));
}
render() {