diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-29 19:48:32 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-29 19:48:32 -0500 |
| commit | 48b0153d814cddad71caa8103e7ff4c761b66eaa (patch) | |
| tree | 790d98e927f9d16f588d6ee3d0d1d4849ea79b3e /src/client/views/collections/CollectionTimeView.tsx | |
| parent | 412e4aa10e0fab8a949c78e851efdc68661dd522 (diff) | |
fixed menu functions that referenced 'self' instead of 'this'
Diffstat (limited to 'src/client/views/collections/CollectionTimeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTimeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTimeView.tsx b/src/client/views/collections/CollectionTimeView.tsx index 1cdd200e5..8d114761a 100644 --- a/src/client/views/collections/CollectionTimeView.tsx +++ b/src/client/views/collections/CollectionTimeView.tsx @@ -35,7 +35,7 @@ export class CollectionTimeView extends CollectionSubView() { async componentDidMount() { this.props.setContentView?.(this); runInAction(() => { - this._childClickedScript = ScriptField.MakeScript('openInLightbox(self)', { this: Doc.name }); + this._childClickedScript = ScriptField.MakeScript('openInLightbox(this)', { this: Doc.name }); this._viewDefDivClick = ScriptField.MakeScript('pivotColumnClick(this,payload)', { payload: 'any' }); }); } |
