app/controllers/ops_controller/db.rb
# VM clicked on in the explorer right cell
VM clicked on in the explorer right cell
VM clicked on in the explorer right cell
def x_show
    @record = VmdbIndex.find(params[:id])
    params[:id] = x_build_node_id(@record) 
    tree_select
  end
def x_show @record = VmdbIndex . find ( params [ :id ] ) params [ :id ] = x_build_node_id ( @record ) tree_select end
VM clicked on in the explorer right cell
VM clicked on in the explorer right cell
# @explorer = true # Get the tree node id