mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 18:34:18 +00:00
Make the joblist clickable again
This commit is contained in:
parent
1d6834302d
commit
7cae84ffdc
@ -29,7 +29,7 @@ class JobList extends ResourceList {
|
||||
|
||||
get item() {
|
||||
return `
|
||||
<tr class="list-item service-scheme">
|
||||
<tr class="list-item service-scheme clickable hoverable">
|
||||
<td>
|
||||
<label class="list-action-trigger" data-list-action="select">
|
||||
<input class="select-checkbox" type="checkbox">
|
||||
@ -112,7 +112,7 @@ class JobList extends ResourceList {
|
||||
if (listItemElement === null) {return;}
|
||||
let itemId = listItemElement.dataset.id;
|
||||
let listActionElement = event.target.closest('.list-action-trigger[data-list-action]');
|
||||
let listAction = listActionElement === null ? '' : listActionElement.dataset.listAction;
|
||||
let listAction = listActionElement === null ? 'view' : listActionElement.dataset.listAction;
|
||||
switch (listAction) {
|
||||
case 'delete-request': {
|
||||
let values = this.listjs.get('id', itemId)[0].values();
|
||||
|
Loading…
Reference in New Issue
Block a user