Skip to content

Commit

Permalink
fix color format of priority in config/userpref
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Oct 8, 2015
1 parent fce111e commit f0350f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/html.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3044,7 +3044,7 @@ static function showColorField($name, $options=array()) {
}
$field_id = Html::cleanId("color_".$name.$p['rand']);
$output = "<input type='text' id='$field_id' name='$name' value='".$p['value']."'>";
$js = "$('#$field_id').spectrum();";
$js = "$('#$field_id').spectrum({preferredFormat: 'hex'});";
$output .= Html::scriptBlock($js);

if ($p['display']) {
Expand Down

0 comments on commit f0350f9

Please sign in to comment.