Skip to content

Commit c71de94

Browse files
authored
Merge pull request #675 from contao-community-alliance/hotfix/fix_support_sortfiles_for_mcw
Fix sorting files in MCW
2 parents a53cd2d + c4929e7 commit c71de94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Resources/contao/templates/widget_filetree.html5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ $requestToken = System::getContainer()->get('contao.csrf.token_manager')->getDef
4848
</script>
4949
<?php endif; ?>
5050
<?php if ($this->hasOrder): ?>
51-
<script>Backend.makeMultiSrcSortable("sort_<?= $this->id ?>", "ctrl_<?= $this->orderId ?>", "ctrl_<?= $this->id ?>")</script>
51+
<script>Backend.makeMultiSrcSortable("sort_<?= $this->id ?>", "ctrl_<?= $this->id ?>", "ctrl_<?= $this->id ?>")</script>
5252
<?php endif; ?>
5353
</div>

0 commit comments

Comments
 (0)