Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.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 | 8a93fb299e64 |
children | ceb989d64cd2 |
comparison
equal
deleted
inserted
replaced
1330:ece7d9484574 | 1331:aa2313e0f18d |
---|---|
396 GWT.log("Edited record."); | 396 GWT.log("Edited record."); |
397 | 397 |
398 int row = event.getRowNum(); | 398 int row = event.getRowNum(); |
399 FacetRecord rec = (FacetRecord) list.getRecord(row); | 399 FacetRecord rec = (FacetRecord) list.getRecord(row); |
400 | 400 |
401 activateTheme(rec.getTheme(), rec.getActive()); | 401 Theme theme = rec.getTheme(); |
402 | |
403 theme.setDescription(rec.getName()); | |
404 activateTheme(theme, rec.getActive()); | |
402 | 405 |
403 updateCollection(); | 406 updateCollection(); |
404 } | 407 } |
405 | 408 |
406 | 409 |