# HG changeset patch # User Raimund Renkert # Date 1319024681 0 # Node ID fd408dfbd3b80ec330247bc7392751d911d7d79d # Parent 01b18db3b2884331b43c1fec1ade388592df26bb Convert all color attributes from html to rgb notation. flys-client/trunk@3029 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 01b18db3b288 -r fd408dfbd3b8 flys-client/ChangeLog --- a/flys-client/ChangeLog Wed Oct 19 11:08:03 2011 +0000 +++ b/flys-client/ChangeLog Wed Oct 19 11:44:41 2011 +0000 @@ -1,3 +1,8 @@ +2011-10-19 Raimund Renkert + + * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: + Convert all color attributes from html to rgb notation. + 2011-10-19 Felix Wolfsteller Added a displayName propertie to Recommendations and add names to data diff -r 01b18db3b288 -r fd408dfbd3b8 flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Wed Oct 19 11:08:03 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Wed Oct 19 11:44:41 2011 +0000 @@ -399,7 +399,7 @@ Theme t = facet.getTheme(); Style s = attributes.getStyle(t.getFacet(), t.getIndex()); StyleSetting set = s.getSetting(name); - if(name.equals("linecolor")) { + if(name.indexOf("color") != -1) { value = htmlToRgb(value); } set.setDefaultValue(value);