app/presenters/tree_builder.rb
# Get the children of a dynatree node that is being expanded (autoloaded)
Get the children of a dynatree node that is being expanded (autoloaded)
Get the children of a dynatree node that is being expanded ( autoloaded )
def x_get_child_nodes(id)
    parents = [] 
    object = node_by_tree_id(id)
    open_node(id)
    x_get_tree_objects(object, @tree_state.x_tree(@name), false, parents).map do |o|
      x_build_node_dynatree(o, id, @tree_state.x_tree(@name))
    end
  end
def x_get_child_nodes ( id ) parents = [ ] object = node_by_tree_id ( id ) open_node ( id ) x_get_tree_objects ( object , @tree_state . x_tree ( @name ) , false , parents ) . map do | o | x_build_node_dynatree ( o , id , @tree_state . x_tree ( @name ) ) end end
Get the children of a dynatree node that is being expanded (autoloaded)
Get the children of a dynatree node that is being expanded ( autoloaded )
# FIXME: parent ids should be provided on autoload as well # Save node as open
id
<not_specific>