Subversion Repositories eFlore/Applications.cel

Rev

Rev 3372 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3372 Rev 3380
Line 37... Line 37...
37
 * Initialise le formulaire, les validateurs, les listes de complétion...
37
 * Initialise le formulaire, les validateurs, les listes de complétion...
38
 */
38
 */
39
LichensLg.prototype.initForm = function() {
39
LichensLg.prototype.initForm = function() {
40
	const lthis = this;
40
	const lthis = this;
Line -... Line 41...
-
 
41
 
-
 
42
	$('[type="date"]').prop('max', function(){
-
 
43
		return new Date().toJSON().split('T')[0];
-
 
44
	});
41
 
45
 
42
	this.surChangementTaxonListe();
46
	this.surChangementTaxonListe();
43
	$( '#taxon-liste' ).on( 'change', lthis.surChangementTaxonListe );
47
	$( '#taxon-liste' ).on( 'change', lthis.surChangementTaxonListe );
44
	$( '#taxon-liste' ).on( 'change', lthis.surChangementValeurTaxon.bind( lthis ) );
48
	$( '#taxon-liste' ).on( 'change', lthis.surChangementValeurTaxon.bind( lthis ) );
45
	if ( this.debug ) {
49
	if ( this.debug ) {