Added cross-reference to question viewer

Changed question number countint to be consistent with viewer
This commit is contained in:
2022-08-17 16:36:16 +01:00
parent 3a0abaac6a
commit 2da8eb7712
2 changed files with 10 additions and 5 deletions

View File

@ -242,6 +242,10 @@ $('.adjustment-delete').click(function(event){
event.preventDefault()
})
event.preventDefault();
});
// Detailed Results view questions
$('.view-full-questions').click(function(event) {
var dataset = $(this).data('dataset')
window.open(`/admin/view/${dataset}`, '_blank')
event.preventDefault()
})