Browse Source

Lp item list: Allow all items to be moved using arrows BT#15967

Except the "final item".
Julio Montoya 5 years ago
parent
commit
a834f88421
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/lp/learnpath.class.php

+ 1 - 1
main/lp/learnpath.class.php

@@ -6438,7 +6438,7 @@ class learnpath
                     );
                 }
 
-                if (in_array($arrLP[$i]['item_type'], ['dir', 'document'])) {
+                if ($arrLP[$i]['item_type'] != 'final_item') {
                     /*if ($isFirst) {
                         $orderIcons = Display::url($disableUpIcon, '#', ['class' => 'btn btn-default']);
                     } else {