Forked from
Stud.IP / Stud.IP
960 commits behind the upstream repository.
-
Thomas Hackl authoredThomas Hackl authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
admission.js 757 B
/* ------------------------------------------------------------------------
* Anmeldeverfahren und -sets
* ------------------------------------------------------------------------ */
STUDIP.domReady(function () {
$(document).on('change', 'tr.course input', function(i) {
STUDIP.Admission.toggleNotSavedAlert();
});
$('a.userlist-delete-user').on('click', function(event) {
$(this).closest('tr').remove();
return false;
});
$('#courseset-form .autosave').on('click', (event) => {
STUDIP.Admission.autosaveCourseset();
});
STUDIP.ready(() => {
$('#toggle-date-link').on('click', (event) => {
$('#admissionrule-valid-date').toggleClass('hidden-js');
});
});
});