diff --git a/src/template/ACRHR_template.html b/src/template/ACRHR_template.html
index 5112eee..95664c3 100644
--- a/src/template/ACRHR_template.html
+++ b/src/template/ACRHR_template.html
@@ -2061,7 +2061,7 @@
/*
Users should not be able to vot before listening the audio clips until the end.
*/
-function avoidAnsweringBeforeWatchingThrough(){
+function avoidAnsweringBeforeWatchingThrough(){
var i;
// Training section
for (i = 0; i < config['trainingUrls'].length; i++) {
@@ -2071,7 +2071,19 @@
for (i = 0; i < config['questionUrls'].length; i++) {
$('input[name="q{0}"]'.f(i+1)).on('change', alertForbiddenChange);
}
-}
+}
+
+function reportProblem(){
+ var desc = prompt('Please describe the problem you encountered:');
+ if(desc === null){
+ return;
+ }
+ var videoUrls = config['questionUrls'].join('\n');
+ var browserInfo = $('#browser_info').val();
+ var problems = problematic_urls.replace(/
+
+
diff --git a/src/template/ACR_template.html b/src/template/ACR_template.html
index 10a4aea..cb170fa 100644
--- a/src/template/ACR_template.html
+++ b/src/template/ACR_template.html
@@ -2399,7 +2399,7 @@
/*
Users should not be able to vot before listening the audio clips until the end.
*/
-function avoidAnsweringBeforeWatchingThrough(){
+function avoidAnsweringBeforeWatchingThrough(){
var i;
// Training section
for (i = 0; i < config['trainingUrls'].length; i++) {
@@ -2409,7 +2409,19 @@
for (i = 0; i < config['questionUrls'].length; i++) {
$('input[name="q{0}"]'.f(i+1)).on('change', alertForbiddenChange);
}
-}
+}
+
+function reportProblem(){
+ var desc = prompt('Please describe the problem you encountered:');
+ if(desc === null){
+ return;
+ }
+ var videoUrls = config['questionUrls'].join('\n');
+ var browserInfo = $('#browser_info').val();
+ var problems = problematic_urls.replace(/
+
+
+
+
+
+
diff --git a/src/template/DCR_template.html b/src/template/DCR_template.html
index 0fe8bf6..f4f9182 100644
--- a/src/template/DCR_template.html
+++ b/src/template/DCR_template.html
@@ -2642,7 +2642,7 @@
/*
Users should not be able to vot before listening the audio clips until the end.
*/
-function avoidAnsweringBeforeWatchingThrough(){
+function avoidAnsweringBeforeWatchingThrough(){
var i;
// Training section
for (i = 0; i < config['trainingUrls'].length; i++) {
@@ -2652,7 +2652,19 @@
for (i = 0; i < config['questionUrls'].length; i++) {
$('input[name="q{0}"]'.f(i+1)).on('change', alertForbiddenChange);
}
-}
+}
+
+function reportProblem(){
+ var desc = prompt('Please describe the problem you encountered:');
+ if(desc === null){
+ return;
+ }
+ var videoUrls = config['questionUrls'].join('\n');
+ var browserInfo = $('#browser_info').val();
+ var problems = problematic_urls.replace(/