Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3426 → Rev 3427

/trunk/widget/modules/saisie2/squelettes/js/ReleveASL.js
105,11 → 105,11
event.preventDefault();
$( this ).addClass( 'disabled' );
$( '.arbre-info' ).not( $( this ) ).removeClass( 'disabled' );
lthis.scrollFormTop( '#zone-arbres' );
 
var numArbre = $( this ).data( 'arbre-info' );
 
lthis.chargerInfosArbre( numArbre );
lthis.scrollFormTop( '#zone-arbres' );
});
// après avoir visualisé les champs d'un arbre, retour à la saisie
$( '#retour' ).on( 'click', function( event ) {
117,7 → 117,6
 
var numArbre = lthis.numArbre + 1;
 
lthis.scrollFormTop( '#zone-arbres' );
// activation des champs et retour à la saisie
lthis.modeArbresBasculerActivation( false, numArbre );
$( '#taxon' )
130,6 → 129,7
'nt',
'famille'
]);
lthis.scrollFormTop( '#zone-arbres' );
});
// chargement plantes ou lichens
var btnChargementForm = this.determinerBtnsChargementForm( '#' );
155,7 → 155,6
}
});
 
this.scrollFormTop( '#zone-observation', '#releve-date' )
if (
this.valOk( $( '#latitude-releve' ).val() ) &&
this.valOk( $( '#longitude-releve' ).val() ) &&
165,6 → 164,7
$( '#geoloc' ).addClass( 'hidden' );
$( '#geoloc-datas' ).removeClass( 'hidden' );
}
this.scrollFormTop( '#zone-observation', '#releve-date' )
};
 
/**
230,7 → 230,6
.off();
$( '#form-observation' ).find( 'input, textarea' ).prop( 'disabled', true );
$( '#zone-arbres,#geoloc-datas,#bouton-nouveau-releve' ).removeClass( 'hidden' );
this.scrollFormTop( '#zone-arbres' );
this.confirmerSortie();
if ( !this.valOk( $( '#releve-data' ).val() ) ) {
var releveDatasTmp = {
288,6 → 287,7
};
 
this.transfererCarto( donnesResetCarto );
this.scrollFormTop( '#zone-arbres' );
}
};