diff options
author | bobzel <zzzman@gmail.com> | 2021-04-09 11:18:59 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-04-09 11:18:59 -0400 |
commit | 9604968e525dd44d24fc38eed84ff3a7cc706862 (patch) | |
tree | 667e865c61a46ca8dd40904633e5e96f2156f315 /src/client/views/LightboxView.tsx | |
parent | 017abddfe1604eeb22d51e18d77d5cf62fcb61bd (diff) |
fix for removing documents from pdfs/web boxes. fixes for making objects draggable again in PDFs. fixes for lightboxview to allow stepping into collecitons. fix for stacking view to skip hidden documents
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-rw-r--r-- | src/client/views/LightboxView.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx index 098c40df4..9444446b1 100644 --- a/src/client/views/LightboxView.tsx +++ b/src/client/views/LightboxView.tsx @@ -190,12 +190,8 @@ export class LightboxView extends React.Component<LightboxViewProps> { const coll = LightboxView._docTarget; const doc = LightboxView.LightboxDoc; if (coll && doc) { - console.log('test'); - console.log('target: ' + coll.title); - console.log('doc: ' + doc.title); const fieldKey = Doc.LayoutFieldKey(coll); - LightboxView.SetLightboxDoc(doc); - // LightboxView.SetLightboxDoc(coll, undefined, [...DocListCast(coll[fieldKey]), ...DocListCast(coll[fieldKey + "-annotations"])]); + LightboxView.SetLightboxDoc(coll, undefined, [...DocListCast(coll[fieldKey]), ...DocListCast(coll[fieldKey + "-annotations"])]); TabDocView.PinDoc(coll, { hidePresBox: true }); } } |