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
e80c1176b94568235aa17e7cea81f9f7738a8b30
e80c1176
1 parent
51fff31d
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 @
e80c117
...
...
@@ -65,7 +65,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