Files
opensem/resources/views
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
..
2020-03-25 00:08:27 +01:00
2021-05-21 00:21:05 +02:00
2025-01-03 03:46:45 +01:00
2021-07-25 23:19:27 +02:00
2020-03-30 00:48:17 +02:00