Pick initial issue type and priority from the particular first item of the predefined issue labels list (thanks Jakub Vitak, closes issue 556)

This commit is contained in:
Thomas Keller
2010-10-31 23:18:35 +00:00
parent e776fc0713
commit 8993d2988b
3 changed files with 30 additions and 3 deletions

View File

@@ -105,6 +105,7 @@ Maintainability = Hinders future changes';
array('required' => true,
'label' => __('Predefined issue labels'),
'initial' => self::init_predefined,
'help_text' => __('The first "Type:" and "Priority:" entries found in this list are automatically chosen as defaults for new issues.'),
'widget_attrs' => array('rows' => 7,
'cols' => 75),
'widget' => 'Pluf_Form_Widget_TextareaInput',