mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
3 lines
498 B
JavaScript
3 lines
498 B
JavaScript
define ("core_grades/edittree_index",["jquery"],function(a){var b=function(){a("body").on("change",".weightoverride",b.toggleWeightInput);a("#menumoveafter").on("change",function(){var b=a(this).closest("form"),c=b.find("#bulkmoveinput");c.val(1);b.submit()})};b.toggleWeightInput=function(b){b.preventDefault();var c=a(this),d=c.closest("tr");a("input[name=\"weight_"+d.data("itemid")+"\"]").prop("disabled",!c.prop("checked"))};return{enhance:b}});
|
|
//# sourceMappingURL=edittree_index.min.js.map
|