Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SequenceAnalysis/resources/views/readsetDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
text: 'More Actions',
menu: [{
text: 'Edit Details',
href: LABKEY.ActionURL.buildURL('ldk', 'manageRecord', null, {schemaName: 'sequenceanalysis', queryName: 'sequence_readsets', keyField: 'rowid', key: readsetId}) + '&returnUrl=' + LDK.Utils.getSrcURL()
href: LABKEY.ActionURL.buildURL('ldk', 'manageRecord', null, {schemaName: 'sequenceanalysis', queryName: 'sequence_readsets', keyField: 'rowid', key: readsetId}) + '&returnUrl=' + LDK.Utils.getReturnUrl()
}]
}]
}
Expand Down
4 changes: 2 additions & 2 deletions SequenceAnalysis/resources/views/sequenceAnalysisDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
text: 'More Actions',
menu: [{
text: 'Edit Analysis Details',
href: LABKEY.ActionURL.buildURL('ldk', 'manageRecord', null, {schemaName: 'sequenceanalysis', queryName: 'sequence_analyses', keyField: 'rowid', key: analysisId}) + '&returnUrl=' + LDK.Utils.getSrcURL()
href: LABKEY.ActionURL.buildURL('ldk', 'manageRecord', null, {schemaName: 'sequenceanalysis', queryName: 'sequence_analyses', keyField: 'rowid', key: analysisId}) + '&returnUrl=' + LDK.Utils.getReturnUrl()
}]
}]
}
Expand Down Expand Up @@ -94,7 +94,7 @@
text: 'More Actions',
menu: [{
text: 'Edit Readset Details',
href: LABKEY.ActionURL.buildURL('ldk', 'manageRecord', null, {schemaName: 'sequenceanalysis', queryName: 'sequence_readsets', keyField: 'rowid', key: row.readset}) + '&returnUrl=' + LDK.Utils.getSrcURL()
href: LABKEY.ActionURL.buildURL('ldk', 'manageRecord', null, {schemaName: 'sequenceanalysis', queryName: 'sequence_readsets', keyField: 'rowid', key: row.readset}) + '&returnUrl=' + LDK.Utils.getReturnUrl()
}]
}]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Ext4.define('SequenceAnalysis.panel.IlluminaSampleExportPanel', {
},{
text: 'Cancel',
handler: function(btn){
var url = LABKEY.ActionURL.getParameter('srcURL');
var url = LABKEY.ActionURL.getParameter('returnUrl');
if (url)
window.location = decodeURIComponent(url);
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ SequenceAnalysis.Buttons = new function(){
pks: checked,
schemaName: 'sequenceanalysis',
queryName: 'sequence_readsets',
srcURL: LDK.Utils.getSrcURL()
returnUrl: LDK.Utils.getReturnUrl()
})
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ else if (SequenceAnalysisSchema.TABLE_OUTPUTFILES.equals(_table.getName()))
@Override
public @NotNull URLHelper getSuccessURL(DeleteForm form)
{
URLHelper url = form.getReturnURLHelper();
URLHelper url = form.getReturnUrlHelper();
return url != null ? url : _table.getGridURL(getContainer()) != null ? _table.getGridURL(getContainer()) : getContainer().getStartURL(getUser());
}
}
Expand Down