Skip to content

Commit

Permalink
Merge branch 'release-48.12.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 5, 2024
2 parents e32a275 + 08ab841 commit eb97437
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions views/js/controller/creator/views/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ define([
const weightVisible = features.isVisible('taoQtiTest/creator/test/property/scoring/weight')

function changeScoring(scoring) {
var noOptions = !!scoring && ['none', 'custom'].indexOf(scoring.outcomeProcessing) === -1 && weightVisible;
var noOptions = !!scoring && ['none', 'custom'].indexOf(scoring.outcomeProcessing) === -1;
var newScoringState = JSON.stringify(scoring);

hider.toggle($cutScoreLine, !!scoring && scoring.outcomeProcessing === 'cut');
hider.toggle($categoryScoreLine, noOptions);
hider.toggle($weightIdentifierLine, noOptions);
hider.toggle($weightIdentifierLine, noOptions && weightVisible);
hider.hide($descriptions);
hider.show($descriptions.filter('[data-key="' + scoring.outcomeProcessing + '"]'));

Expand Down
2 changes: 1 addition & 1 deletion views/js/loader/taoQtiTest.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion views/js/loader/taoQtiTest.min.js.map

Large diffs are not rendered by default.

0 comments on commit eb97437

Please sign in to comment.