Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "ArchivesSpace: Do not open matching GUI with JS" #390

Closed
wants to merge 1 commit into from
Closed
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
7 changes: 7 additions & 0 deletions src/dashboard/src/media/js/ingest.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,13 @@ $(function()
window.location.href = '/ingest/' + this.model.sip.get('uuid') + '/upload/atk/';
}

// redirect to object/resource mapping pages
if ('- Upload DIP to ArchivesSpace' == $select.find('option:selected').text())
{
$('body').html('<h1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loading...</h1>');
window.location.href = '/ingest/' + this.model.sip.get('uuid') + '/upload/as/';
}

// if ('Upload DIP' == this.model.get('type') && 13 == value)
if ('- Upload DIP to Atom' == $select.find('option:selected').text())
{
Expand Down