minmod
This commit is contained in:
parent
48099c7910
commit
678d7d0408
|
@ -140,18 +140,18 @@ inputPhoneMini.prototype.add = function(objectData){
|
||||||
objectData.sexe = existingData.sexe;
|
objectData.sexe = existingData.sexe;
|
||||||
objectData.loc = existingData.dist;
|
objectData.loc = existingData.dist;
|
||||||
|
|
||||||
// Si valeur
|
// DISTANCE (LOC) : Si valeur
|
||||||
if( !isNaN(existingData.reltype) ){
|
if( !isNaN(existingData.reltype) ){
|
||||||
objectData.reltype = existingData.reltype;
|
objectData.reltype = existingData.reltype;
|
||||||
objectData.reltypeSpecial = '';
|
objectData.reltypeSpecial = '';
|
||||||
|
|
||||||
// Si extra
|
// DISTANCE (LOC) : Si extra
|
||||||
}else{
|
}else{
|
||||||
objectData.reltype = 10;
|
objectData.reltype = 10;
|
||||||
objectData.reltypeSpecial = existingData.reltype;
|
objectData.reltypeSpecial = existingData.reltype;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Si données de mini //
|
// On met à jour les études uniquement si 'studies1' est défini //
|
||||||
if( existingData.studies1 != null )
|
if( existingData.studies1 != null )
|
||||||
objectData.studies = existingData.studies1;
|
objectData.studies = existingData.studies1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue