Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 28b0727

Browse files
committed
also sort correct
1 parent 3f25994 commit 28b0727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/assets/js/adapter/fancytree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export class FancytreeAdapter {
267267
let moveNodeInTree = (responseData) => {
268268
dropedNode.remove();
269269
parentNode.addChildren(requestNodeToFancytreeNode(responseData));
270-
parentNode.sortChildren(null, true);
270+
parentNode.sortChildren(fancytreeOptions.sortChildren, true);
271271
};
272272
let onError = (jqxhr, textStatus, errorThrown) => {
273273
console.error(errorThrown);

0 commit comments

Comments
 (0)