Skip to content

Commit ba52930

Browse files
author
Mark Williams
committed
LIMS-1951: Fix link to Multi Crystal reprocessing
1 parent 25cec85 commit ba52930

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/js/modules/dc/views/apstatussummary.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ define(['marionette',
4141
e.preventDefault()
4242

4343
if (app.dialog.currentView instanceof ReprocessView) app.dialog.currentView.collection.add(this.model)
44-
else app.dialog.show(new ReprocessView({ model: this.model, visit: this.model.get('VISIT') }))
44+
else app.dialog.show(new ReprocessView({ model: this.model, visit: this.column.get('visit') }))
4545
}
4646

4747
})
@@ -99,7 +99,7 @@ define(['marionette',
9999
]
100100

101101
this.columns.push.apply(this.columns, [
102-
{ label: '', cell: RPCell, template: '<a href="#" class="reprocess button button-notext" title="Reprocess"><i class="fa fa-cog"></i> <span>Reprocess</span></a>', editable: false },
102+
{ label: '', cell: RPCell, template: '<a href="#" class="reprocess button button-notext" title="Reprocess"><i class="fa fa-cog"></i> <span>Reprocess</span></a>', editable: false, visit: this.model.get('VISIT') },
103103
{ label: '', cell: APCell, template: '<a href="/dc/visit/'+this.model.escape('VISIT')+'/id/<%-ID%>" class="button button-notext dll" title="Open data collection"><i class="fa fa-arrow-right"></i> <span>Open data collection</span></a>', editable: false },
104104
])
105105

0 commit comments

Comments
 (0)