Skip to content

Commit

Permalink
Merge pull request #16 from h5p/JI-2827-hide-annonymous-checkbox-from-CI
Browse files Browse the repository at this point in the history
JI-2827 Fix send anonymous flag even though user is loggedin
  • Loading branch information
thomasmars authored Oct 13, 2021
2 parents 99301e8 + d54ce01 commit 9ffa4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/h5p.js
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ H5P.ConfusionPopup = function($element, instance, contentId, anonymousCheckboxEn
const data = {
feedback: text,
context: context,
anonymous: input ? input.checked : 'true',
anonymous: input ? input.checked : 'false',
};
var options = {
url: H5PIntegration.ajax.confusionFeedback.replace(':contentId', contentId),
Expand Down

0 comments on commit 9ffa4fd

Please sign in to comment.