Unverified Commit 7aab5292 authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

Prevent attempt to open archive if no id found close to event triggering element

parent 4041ec9e
Pipeline #6996 failed with stages
......@@ -42,6 +42,9 @@ $("#archiveList").on('click', ".viewDocument", function() {
// view the archive description
$('#archiveList').on('click', '.viewArchive', function () {
if ($(this).closest('tr').attr('id') == undefined) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment