aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionDockingView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-02-18 17:10:25 -0500
committerbob <bcz@cs.brown.edu>2020-02-18 17:10:25 -0500
commit86a018749528e3b249bc0440e9d791c28b227532 (patch)
treedf6981c21edc0c35924cbc3c1fc37fcc66431d29 /src/client/views/collections/CollectionDockingView.tsx
parente5d5ed0e7c4d594777d2bdf0347242b11157b32f (diff)
fixed up following link to a portal alias. made renaming goldenlayout tabs write to the proto.
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
-rw-r--r--src/client/views/collections/CollectionDockingView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx
index 902016365..26b65c898 100644
--- a/src/client/views/collections/CollectionDockingView.tsx
+++ b/src/client/views/collections/CollectionDockingView.tsx
@@ -433,7 +433,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp
tab.titleElement[0].onclick = (e: any) => tab.titleElement[0].focus();
tab.titleElement[0].onchange = (e: any) => {
tab.titleElement[0].size = e.currentTarget.value.length + 1;
- Doc.SetInPlace(doc, "title", e.currentTarget.value, true);
+ Doc.GetProto(doc).title = e.currentTarget.value, true;
};
tab.titleElement[0].size = StrCast(doc.title).length + 1;
tab.titleElement[0].value = doc.title;