diff --git a/CHANGES.md b/CHANGES.md index 3683ec9..3f3c663 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,10 @@ moodle-availability_cohort Changes ------- +### Unreleased + +* 2024-10-27 - Release: Revert a stale YUI module build which sneaked into v4.3-r4 unfortunately. + ### v4.3-r4 * 2024-10-27 - Tests: Call parent setup() function when instantiating PHPUnit tests. diff --git a/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form-debug.js b/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form-debug.js index ee88292..a73eab3 100644 --- a/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form-debug.js +++ b/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form-debug.js @@ -44,7 +44,7 @@ M.availability_cohort.form.getNode = function(json) { html += ''; } html += ''; - var node = Y.Node.create('' + html + ''); + var node = Y.Node.create('' + html + ''); // Set initial values (leave default 'choose' if creating afresh). if (json.creating === undefined) { diff --git a/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form-min.js b/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form-min.js index a3dbc44..bb8de14 100644 --- a/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form-min.js +++ b/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form-min.js @@ -1 +1 @@ -YUI.add("moodle-availability_cohort-form",function(l,i){M.availability_cohort=M.availability_cohort||{},M.availability_cohort.form=l.Object(M.core_availability.plugin),M.availability_cohort.form.cohorts=null,M.availability_cohort.form.initInner=function(i){this.cohorts=i},M.availability_cohort.form.getNode=function(i){for(var o,a,t='")+""),i.creating===undefined&&(i.id!==undefined&&a.one("select[name=id] > option[value="+i.id+"]")?a.one("select[name=id]").set("value",""+i.id):i.id===undefined&&a.one("select[name=id]").set("value","any")),M.availability_cohort.form.addedEvents||(M.availability_cohort.form.addedEvents=!0,l.one(".availability-field").delegate("change",function(){M.core_availability.form.update()},".availability_cohort select")),a},M.availability_cohort.form.fillValue=function(i,o){o=o.one("select[name=id]").get("value");"choose"===o?i.id="choose":"any"!==o&&(i.id=parseInt(o,10))},M.availability_cohort.form.fillErrors=function(i,o){var a={};this.fillValue(a,o),a.id&&"choose"===a.id&&i.push("availability_cohort:error_selectcohort")}},"@VERSION@",{requires:["base","node","event","moodle-core_availability-form"]}); \ No newline at end of file +YUI.add("moodle-availability_cohort-form",function(l,i){M.availability_cohort=M.availability_cohort||{},M.availability_cohort.form=l.Object(M.core_availability.plugin),M.availability_cohort.form.cohorts=null,M.availability_cohort.form.initInner=function(i){this.cohorts=i},M.availability_cohort.form.getNode=function(i){for(var o,a,t='")+""),i.creating===undefined&&(i.id!==undefined&&a.one("select[name=id] > option[value="+i.id+"]")?a.one("select[name=id]").set("value",""+i.id):i.id===undefined&&a.one("select[name=id]").set("value","any")),M.availability_cohort.form.addedEvents||(M.availability_cohort.form.addedEvents=!0,l.one(".availability-field").delegate("change",function(){M.core_availability.form.update()},".availability_cohort select")),a},M.availability_cohort.form.fillValue=function(i,o){o=o.one("select[name=id]").get("value");"choose"===o?i.id="choose":"any"!==o&&(i.id=parseInt(o,10))},M.availability_cohort.form.fillErrors=function(i,o){var a={};this.fillValue(a,o),a.id&&"choose"===a.id&&i.push("availability_cohort:error_selectcohort")}},"@VERSION@",{requires:["base","node","event","moodle-core_availability-form"]}); \ No newline at end of file diff --git a/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form.js b/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form.js index ee88292..a73eab3 100644 --- a/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form.js +++ b/yui/build/moodle-availability_cohort-form/moodle-availability_cohort-form.js @@ -44,7 +44,7 @@ M.availability_cohort.form.getNode = function(json) { html += ''; } html += ''; - var node = Y.Node.create('' + html + ''); + var node = Y.Node.create('' + html + ''); // Set initial values (leave default 'choose' if creating afresh). if (json.creating === undefined) {