This commit is contained in:
xdrm-brackets 2016-05-27 16:56:12 +02:00
parent 48099c7910
commit 678d7d0408
1 changed files with 3 additions and 3 deletions

View File

@ -140,18 +140,18 @@ inputPhoneMini.prototype.add = function(objectData){
objectData.sexe = existingData.sexe;
objectData.loc = existingData.dist;
// Si valeur
// DISTANCE (LOC) : Si valeur
if( !isNaN(existingData.reltype) ){
objectData.reltype = existingData.reltype;
objectData.reltypeSpecial = '';
// Si extra
// DISTANCE (LOC) : Si extra
}else{
objectData.reltype = 10;
objectData.reltypeSpecial = existingData.reltype;
}
// Si données de mini //
// On met à jour les études uniquement si 'studies1' est défini //
if( existingData.studies1 != null )
objectData.studies = existingData.studies1;