114,7 → 114,7 |
dataType: 'xml', // 'xml', 'script', or 'json' (expected server response type) |
resetForm: true // reset the form after successful submit |
}; |
$( '#miniature' ).append( '<img id="miniature-chargement" class="miniature" alt="chargement" src="' + this.chargementImageIconeUrl + '">' ); |
$( '#miniature' ).append( '<img id="miniature-chargement" class="miniature" alt="chargement" src="' + this.chargementImageIconeUrl + '"/>' ); |
$( '#ajouter-obs' ).attr( 'disabled', 'disabled' ); |
if( lthis.verifierFormat( $( '#fichier' ).val() ) ) { |
$( '#form-upload' ).ajaxSubmit( options ); |
201,7 → 201,7 |
var imgNom = $( 'image-nom', reponse ).text(); |
var html = |
'<div class="miniature mb-3 mr-3">'+ |
'<img class="miniature-img" class="miniature img-rounded" alt="' + imgNom + '" src="' + miniatureUrl + '">'+ |
'<img class="miniature-img" class="miniature img-rounded" alt="' + imgNom + '" src="' + miniatureUrl + '"/>'+ |
'<a class="effacer-miniature"><i class="far fa-trash-alt"></i></a>'+ |
'</div>' |
return html; |
413,9 → 413,9 |
// '<span>Station :</span> ' + $( '#station' ).val() + ' '+ |
'<span>Milieu :</span> '+ $ ( '#milieu' ).val() + ' '+ |
'</li>'+ |
'<li>'+ |
'Commentaires : <span class="discretion">' + $( '#notes' ).val() + '</span>'+ |
'</li>'+ |
'<li>'+ |
'Commentaires : <span class="discretion">' + $( '#notes' ).val() + '</span>'+ |
'</li>'+ |
'</ul>'+ |
'</div>'+ |
'</div>'+ |
495,8 → 495,8 |
WidgetSaisie.prototype.surChangementReferentiel = function() { |
this.nomSciReferentiel = $( '#referentiel' ).val(); |
$( '#taxon' ).val( '' ); |
//this.initialiserAutocompleteCommune(); |
//this.initialiserGoogleMap( false ); |
this.initialiserAutocompleteCommune(); |
this.initialiserGoogleMap( false ); |
}; |
|
WidgetSaisie.prototype.surChangementNbreObs = function() { |