From f0350f91249dbb227c88add13cd754ccd1e481bd Mon Sep 17 00:00:00 2001 From: Alexandre Delaunay Date: Thu, 8 Oct 2015 11:30:22 +0200 Subject: [PATCH] fix color format of priority in config/userpref --- inc/html.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/html.class.php b/inc/html.class.php index 1ffb67618e1..1a8a702921a 100644 --- a/inc/html.class.php +++ b/inc/html.class.php @@ -3044,7 +3044,7 @@ static function showColorField($name, $options=array()) { } $field_id = Html::cleanId("color_".$name.$p['rand']); $output = ""; - $js = "$('#$field_id').spectrum();"; + $js = "$('#$field_id').spectrum({preferredFormat: 'hex'});"; $output .= Html::scriptBlock($js); if ($p['display']) {