diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index d66095d31f..709338b0a6 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -5405,10 +5405,12 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '') } $position = &$form->addElement('select', 'previous', get_lang("Position")." :", '', 'id="idPosition" style="background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; width:300px;"'); - + + $position->addOption(get_lang('FirstPosition'),$key,'style="padding-left:'.$value['padding'].'px;"'); foreach($arrHide as $key => $value){ $position->addOption($value['value'],$key,'style="padding-left:'.$value['padding'].'px;"'); } + if(empty($s_selected_position)) $position -> setSelected($s_selected_position); reset($arrLP);