Jean-Francois Leveque

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

Done
......@@ -65,7 +65,26 @@ public class PublisherVersionView implements Serializable {
}
public void cancel() {
editMode = false;
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() {
......