42,7 → 42,7 |
@Override |
public void onValidationObservation(EvenementValidation event) { |
doValidationObservation(event.getObservation()); |
cache.setPageCourante(ConstantesNavigation.PAGE_VALIDATION); |
cache.setPageCourante(ConstantesNavigation.PAGE_DETAIL_OBS); |
} |
}); |
|
51,7 → 51,7 |
@Override |
public void onValidationObservation(EvenementValidationPictoflora event) { |
doValidationObservationPictoflora(event.getObservation()); |
cache.setPageCourante(ConstantesNavigation.PAGE_VALIDATION_PICTOFLORA); |
cache.setPageCourante(ConstantesNavigation.PAGE_DETAIL_IMG); |
} |
}); |
|
86,12 → 86,12 |
|
private void doValidationObservation(Observation observation) { |
CacheClient.getInstance().setObservationCourante(observation); |
History.newItem(ConstantesNavigation.PAGE_VALIDATION + "~" + observation.getId(), true); |
History.newItem(ConstantesNavigation.PAGE_DETAIL_OBS + "~" + observation.getId(), true); |
} |
|
private void doValidationObservationPictoflora(Observation observation) { |
CacheClient.getInstance().setObservationCourante(observation); |
History.newItem(ConstantesNavigation.PAGE_VALIDATION_PICTOFLORA + "~" + observation.getId(), true); |
History.newItem(ConstantesNavigation.PAGE_DETAIL_IMG + "~" + observation.getId(), true); |
} |
|
private void doComparaisonAvecEflore(String taxon) { |