Jean-Francois Leveque

https://tree.taiga.io/project/jr-utily-grog-v3/us/85 Gerer le cancel dans l'édition de l'éditeur

Done
......@@ -64,7 +64,26 @@ public class PublisherVersionView implements Serializable {
}
public void cancel() {
if (!newPublisher) {
loadData();
editMode = false;
} else {
publisherName = null;
publisherStreetAddress = null;
publisherPostalCode = null;
publisherPostOfficeBoxNumber = null;
publisherAddressRegion = null;
publisherAddressLocality = null;
publisherAddressCountry = null;
publisherTelephone = null;
publisherEmail = null;
publisherURL = null;
publisherActive = false;
publisherHistory = null;
publisher = null;
editMode = true;
}
}
public void save() {
......