/**
  * Copy items to clipboard, then cut them from the current tree
  */
 function cutItems($a_return = "showOrganization")
 {
     global $ilCtrl, $lng;
     include_once "./Modules/Scorm2004/classes/class.ilSCORM2004Node.php";
     $items = ilUtil::stripSlashesArray($_POST["id"]);
     $todel = array();
     // delete IDs < 0 (needed for non-js editing)
     foreach ($items as $k => $item) {
         if ($item < 0) {
             $todel[] = $k;
         }
     }
     foreach ($todel as $k) {
         unset($items[$k]);
     }
     if (!ilSCORM2004Node::uniqueTypesCheck($items)) {
         ilUtil::sendFailure($lng->txt("sahs_choose_pages_chap_scos_ass_only"), true);
         $ilCtrl->redirect($this, $a_return);
     }
     ilSCORM2004Node::clipboardCut($this->object->getId(), $items);
     include_once "./Modules/LearningModule/classes/class.ilEditClipboard.php";
     ilEditClipboard::setAction("cut");
     ilUtil::sendInfo($lng->txt("cont_selected_items_have_been_cut"), true);
     $ilCtrl->redirect($this, $a_return);
 }