Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/AttributedTheme.java @ 1331:aa2313e0f18d
#366 Modifications on theme description in theme panels are now persisted to artifact server.
flys-client/trunk@2976 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 17 Oct 2011 09:18:22 +0000 |
parents | 374712890b94 |
children | 290d5687f202 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/AttributedTheme.java Fri Oct 14 14:01:32 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/AttributedTheme.java Mon Oct 17 09:18:22 2011 +0000 @@ -120,6 +120,14 @@ @Override + public void setDescription(String description) { + if (description != null && description.length() > 0) { + addAttr("description", description); + } + } + + + @Override public boolean equals(Object o) { if (!(o instanceof AttributedTheme)) { return false;