minmod
This commit is contained in:
parent
48099c7910
commit
678d7d0408
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue