diff --git a/app/templates/jobs/job.html.j2 b/app/templates/jobs/job.html.j2 index 7fad7bcb..f6d71719 100644 --- a/app/templates/jobs/job.html.j2 +++ b/app/templates/jobs/job.html.j2 @@ -153,16 +153,16 @@ let deleteJobRequestElement = document.querySelector('#delete-job-request'); let restartJobRequestElement = document.querySelector('#restart-job-request'); deleteJobRequestElement.addEventListener('click', (event) => { - requests.jobs.entity.delete({{ job.hashid|tojson }}); + nopaque.requests.jobs.entity.delete({{ job.hashid|tojson }}); }); restartJobRequestElement.addEventListener('click', (event) => { - requests.jobs.entity.restart({{ job.hashid|tojson }}); + nopaque.requests.jobs.entity.restart({{ job.hashid|tojson }}); }); if ({{ current_user.is_administrator()|tojson }}) { let jobLogButtonElement = document.querySelector('#job-log-button'); jobLogButtonElement.addEventListener('click', (event) => { - requests.jobs.entity.log({{ job.hashid|tojson }}) + nopaque.requests.jobs.entity.log({{ job.hashid|tojson }}) .then( (response) => { response.json()