mirror of
https://github.com/moodle/moodle.git
synced 2025-07-06 06:54:40 +02:00
Merge branch 'MDL-43893-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
@ -64,22 +64,6 @@ function UpdatableGroupsCombo(wwwRoot, courseId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Add onchange event to groups list box.
|
|
||||||
// Okay, this is not working in IE. The onchange is never fired...
|
|
||||||
// I'm hard coding the onchange in ../index.php. Not ideal, but it works
|
|
||||||
// then. vyshane AT moodle DOT com.
|
|
||||||
/*
|
|
||||||
groupsComboEl = document.getElementById("groups");
|
|
||||||
if (groupsComboEl) {
|
|
||||||
groupsComboEl.setAttribute("onchange", "membersCombo.refreshMembers(this.options[this.selectedIndex].value);");
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Hide the updategroups input since AJAX will take care of this.
|
|
||||||
YUI().use('yui2-dom', function (Y) {
|
|
||||||
Y.YUI2.util.Dom.setStyle("updategroups", "display", "none");
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -131,9 +115,10 @@ function UpdatableMembersCombo(wwwRoot, courseId) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Hide the updatemembers input since AJAX will take care of this.
|
// Hide the updatemembers input since AJAX will take care of this.
|
||||||
YUI().use('yui2-dom', function (Y) {
|
var updatemembers = Y.one('#updatemembers');
|
||||||
Y.YUI2.util.Dom.setStyle("updatemembers", "display", "none");
|
if (updatemembers) {
|
||||||
});
|
updatemembers.hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user