diff -r 1422ba0fc333 -r 24308670f1bb src/js/widgets/segmentsWidget.js --- a/src/js/widgets/segmentsWidget.js Mon Dec 19 12:08:50 2011 +0100 +++ b/src/js/widgets/segmentsWidget.js Mon Dec 19 12:30:36 2011 +0100 @@ -80,9 +80,11 @@ var color = annotation.color; var hexa_color = IriSP.DEC_HEXA_COLOR(color); - + if (hexa_color === "FFCC00") hexa_color = "333"; + if (hexa_color.length == 4) + hexa_color = hexa_color + '00'; var annotationTemplate = Mustache.to_html(IriSP.annotation_template, {"divTitle" : divTitle, "id" : id, "startPourcent" : startPourcent,