Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1097 → Rev 1098

/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormCommentaire.java
516,7 → 516,13
GWT.log("MESSAGES:\n"+info.getMessages().toString(), null);
}
String type = info.getType();
if (info.getType().equals("ajout_collection")) {
if (info.getType().equals("liste_collection_a_commentaire")) {
if (info.getDonnee(0) != null) {
initialiser();
collection.setCommentairesLiees((CollectionACommentaireListe) info.getDonnee(0));
chargementCommentairesOk = true;
}
} else if (info.getType().equals("ajout_collection")) {
if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) {
String collectionId = (String) info.getDonnee(0);
547,12 → 553,6
} else if (info.getType().equals("ajout_collection_a_commentaire")) {
Info.display("Ajout des notes liées à la collection", info.toString());
initialiserGestionCommentaires();
} else if (info.getType().equals("liste_collection_a_commentaire")) {
if (info.getDonnee(0) != null) {
initialiser();
collection.setCommentairesLiees((CollectionACommentaireListe) info.getDonnee(0));
chargementCommentairesOk = true;
}
}
}