[svn r12856] fix bug when moving items

skala
Eric Marguin 18 years ago
parent 596936d8f0
commit ce664289f2
  1. 6
      main/newscorm/learnpath.class.php

@ -5716,6 +5716,7 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '')
{
$form->addElement('hidden', 'title', $item_title);
$form->addElement('hidden', 'description', $item_description);
$form->addElement('submit', 'submit_button', get_lang('Ok'), 'style="background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:75px;"');
}
if(is_numeric($extra_info))
{
@ -6487,6 +6488,11 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '')
$return .= $this->display_student_publication_form('move', $item_id, $row);
break;
case TOOL_FORUM :
$return .= $this->display_manipulate($item_id, $row['item_type']);
$return .= $this->display_forum_form('move', $item_id, $row);
}
}

Loading…
Cancel
Save