Files
opensem/app/Repositories/Core
Valentin Lab cd5d72e272 fix: make drag-and-drop on category tree persist correctly
Two issues prevented the shelf tree reordering from working:

- The JS used ``onDragStop`` (only fires for drags outside the
  tree) instead of the ``tree.move`` event to send the AJAX
  request. Moved the POST into the ``tree.move`` handler.
- The ``inside`` case used ``appendNode`` (last child), but
  jqTree sends ``inside`` when dropping before the first child.
  Switched to ``prependNode`` so the node lands first.
- Added missing ``before`` case with ``insertBeforeNode``.
2026-02-13 06:46:12 +01:00
..
2025-03-18 13:06:02 +01:00
2024-02-23 08:35:41 +01:00
2024-02-23 08:35:41 +01:00
2025-10-04 14:13:48 +02:00
2023-07-16 14:45:42 +02:00
2025-02-15 12:12:42 +01:00
2023-07-16 14:45:42 +02:00
2023-07-16 14:45:42 +02:00
2024-02-22 19:35:51 +01:00
2024-01-05 01:30:46 +01:00
2024-01-05 01:30:46 +01:00
2024-01-05 01:30:46 +01:00
2024-03-03 14:53:54 +01:00
2024-01-05 01:30:46 +01:00
2024-02-23 08:35:41 +01:00
2023-07-16 14:45:42 +02:00
2024-02-23 08:35:41 +01:00
2024-01-05 01:30:46 +01:00