Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2016-11-02 16:28:12 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b9f1fc340af1ad9d141329b41cdb32f7b2449811
b9f1fc34
1 parent
f791a5c2
https://tree.taiga.io/project/jr-utily-grog-v3/us/85
Gerer le cancel dans l'édition de l'éditeur
Done
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
src/main/java/org/legrog/web/publisher/PublisherVersionView.java
src/main/java/org/legrog/web/publisher/PublisherVersionView.java
View file @
b9f1fc3
...
...
@@ -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
()
{
...
...
Please
register
or
login
to post a comment