Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js =================================================================== diff -u -r248e47a1f8714d3e57be1e4dc12b4fae4f396cb3 -rb97b1cb641605fec844ccd19ca53a0ac5e53e7e3 --- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 248e47a1f8714d3e57be1e4dc12b4fae4f396cb3) +++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision b97b1cb641605fec844ccd19ca53a0ac5e53e7e3) @@ -2122,7 +2122,8 @@ this.orderID = null; } - if (this.gradebookToolOutputWeight || this.gradebookToolOutputWeight == 0) { + if (this.gradebookToolOutputDefinitionWeightable + && (this.gradebookToolOutputWeight || this.gradebookToolOutputWeight == 0)) { if (weightsSum == null) { weightsSum = 0; } Index: lams_central/web/includes/javascript/authoring/authoringProperty.js =================================================================== diff -u -r248e47a1f8714d3e57be1e4dc12b4fae4f396cb3 -rb97b1cb641605fec844ccd19ca53a0ac5e53e7e3 --- lams_central/web/includes/javascript/authoring/authoringProperty.js (.../authoringProperty.js) (revision 248e47a1f8714d3e57be1e4dc12b4fae4f396cb3) +++ lams_central/web/includes/javascript/authoring/authoringProperty.js (.../authoringProperty.js) (revision b97b1cb641605fec844ccd19ca53a0ac5e53e7e3) @@ -719,6 +719,10 @@ return false; } }); + } else { + activity.gradebookToolOutputDefinitionDescription = null; + activity.gradebookToolOutputDefinitionWeightable = false; + activity.gradebookToolOutputDefinitionWeight = null; } }