soft structure order
This commit is contained in:
parent
34ed8ae39c
commit
9e07794cbc
|
@ -32,7 +32,7 @@ module Admin::ItemsHelper
|
|||
if !parent.children.entries.blank?
|
||||
ret = ''
|
||||
ret << "<ol class='#{'sortable' if parent.parent.nil?}'>"
|
||||
children.each do |child|
|
||||
children.reverse.each do |child|
|
||||
ret << render_node_and_children(child)
|
||||
end
|
||||
ret << '</ol>'
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
</ol>
|
||||
<script type="text/javascript">
|
||||
bindTreeDragHandle();
|
||||
</script>
|
||||
</script>
|
||||
|
|
Reference in New Issue