Skip to content

Commit db818e9

Browse files
authored
Merge pull request #4547 from Laravel-Backpack/fix-reorder-all-expand
Fix reorder operation - after dropping the item, all items expand
2 parents d4d2be5 + 68b72e7 commit db818e9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/public/packages/nestedSortable/jquery.mjs.nestedSortable2.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -820,10 +820,6 @@
820820

821821
if (o.isTree) {
822822
replaceClass(item, o.branchClass, o.leafClass, doNotClear);
823-
824-
if (doNotClear && hasChildren) {
825-
replaceClass(item, o.collapsedClass, o.expandedClass);
826-
}
827823
}
828824

829825
if (!doNotClear) {

0 commit comments

Comments
 (0)