This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
core/view/js/mod_events.js

17 lines
284 B
JavaScript

/**
* JavaScript for mod/events
*/
$(document).ready( function() {
enableDisableFinishDate();
});
function enableDisableFinishDate() {
if( $('#id_nofinish').is(':checked'))
$('#id_finish_text').prop("disabled", true);
else
$('#id_finish_text').prop("disabled", false);
}