402,6 → 402,14 |
|
if (info.getType().equals("modif_structure")) { |
InfoLogger.display("Modification d'une institution", info.toString()); |
Structure structureMaj = (Structure)(info.getDonnee(0)); |
if(structureMaj != null) { |
// TRUE uniquement si la modification a retourné un objet JSON pour mise à jour |
// (contenant les coordonnées générées, cf r1673) |
structure.setLatitude(structureMaj.getLatitude()); |
structure.setLongitude(structureMaj.getLongitude()); |
} |
|
controlerFermeture(); |
} else if (info.getType().equals("ajout_structure")) { |
if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) { |