Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
7aab5292
Unverified
Commit
7aab5292
authored
Feb 25, 2020
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Resources/view/recordsManagement/archive/archiveManagement.html
View file @
7aab5292
...
...
@@ -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
)
{
return
;
}
archiveInfoModal
.
load
(
$
(
this
).
closest
(
'
tr
'
).
attr
(
'
id
'
));
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment