Skip to content

Commit 9ffa4fd

Browse files
authored
Merge pull request #16 from h5p/JI-2827-hide-annonymous-checkbox-from-CI
JI-2827 Fix send anonymous flag even though user is loggedin
2 parents 99301e8 + d54ce01 commit 9ffa4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/h5p.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ H5P.ConfusionPopup = function($element, instance, contentId, anonymousCheckboxEn
17051705
const data = {
17061706
feedback: text,
17071707
context: context,
1708-
anonymous: input ? input.checked : 'true',
1708+
anonymous: input ? input.checked : 'false',
17091709
};
17101710
var options = {
17111711
url: H5PIntegration.ajax.confusionFeedback.replace(':contentId', contentId),

0 commit comments

Comments
 (0)