Subversion Repositories eFlore/Applications.cel

Rev

Rev 3275 | Rev 3280 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3275 Rev 3276
Line 263... Line 263...
263
};
263
};
Line 264... Line 264...
264
 
264
 
265
// se déclanche quand on choisit "Observation sans inscription" mais que le mail entré est incrit à Tela
265
// se déclanche quand on choisit "Observation sans inscription" mais que le mail entré est incrit à Tela
266
WidgetSaisie.prototype.surSuccesCompletionCourriel = function( infos, courriel ) {
266
WidgetSaisie.prototype.surSuccesCompletionCourriel = function( infos, courriel ) {
267
	if ( $( '#utilisateur-connecte' ).hasClass( 'hidden' ) ) {// si quelque chose a foiré après actualisation
267
	if ( $( '#utilisateur-connecte' ).hasClass( 'hidden' ) ) {// si quelque chose a foiré après actualisation
268
		if ( !valeurOk( '#warning-identite' ) ) {
268
		if ( !valeurOk( $( '#warning-identite' ) ) ) {
269
			$( '#zone-courriel' ).before( '<p id="warning-identite" class="warning"><i class="fas fa-exclamation-triangle"></i> ' + this.msgTraduction( 'courriel-connu' ) + '</p>' );
269
			$( '#zone-courriel' ).before( '<p id="warning-identite" class="warning"><i class="fas fa-exclamation-triangle"></i> ' + this.msgTraduction( 'courriel-connu' ) + '</p>' );
270
		}
270
		}
271
		$( '#bouton-inscription, #zone-prenom-nom, #zone-courriel-confirmation' ).addClass( 'hidden' );
271
		$( '#bouton-inscription, #zone-prenom-nom, #zone-courriel-confirmation' ).addClass( 'hidden' );
272
		$( '#prenom, #nom, #courriel_confirmation' ).attr( 'disabled', 'disabled' );
272
		$( '#prenom, #nom, #courriel_confirmation' ).attr( 'disabled', 'disabled' );