aboutsummaryrefslogblamecommitdiffstats
path: root/view/js/mod_events.js
blob: 0b7b3d24c395928c8c66a4749b51d25917aa3fa1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                            
 
                               
 




                                    
                                             
                                                            
            
                                                             
 
/**
 * 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);
}