<commit_before>#snapshots_tree_div
  - if @record.snapshots.count > 0
    %fieldset
      %h3=_('Available Snapshots')
      #snapshots_treebox{:style => "width: 100%"}
      = render(:partial => "layouts/dynatree",
        :locals => {:tree_id => "snapshots_treebox",
          :tree_name => "snapshots_tree",
          :id_prefix => "snap_",
          :json_tree => @snaps,
          :onclick => 'miqOnClick_snapshot_tree',
          :click_url => "/#{request.parameters["controller"]}/snap_pressed/",
          :select_node => "#{session[:snap_selected]}",
          :icon_size => 24,
          :open_close_all_on_dbl_click => true})

:javascript
  cfmeDynatree_activateNodeSilently('snapshots_tree', '<%= session[:snap_selected] %>');<commit_msg>Fixed correct buttons to show on VM Snapshots screen.<commit_after>#snapshots_tree_div
  - if @record.snapshots.count > 0
    %fieldset
      %h3=_('Available Snapshots')
      #snapshots_treebox{:style => "width: 100%"}
      = render(:partial => "layouts/dynatree",
        :locals => {:tree_id => "snapshots_treebox",
          :tree_name => "snapshots_tree",
          :id_prefix => "snap_",
          :json_tree => @snaps,
          :onclick => 'miqOnClick_snapshot_tree',
          :click_url => "/#{request.parameters["controller"]}/snap_pressed/",
          :select_node => "#{session[:snap_selected]}",
          :icon_size => 24,
          :open_close_all_on_dbl_click => true})

    :javascript
      cfmeDynatree_activateNodeSilently('snapshots_tree', '<%= session[:snap_selected] %>');
{'fraction_non_alphanumeric': 0.15956072351421188, 'fraction_numerical': 0.00904392764857881, 'mean_word_length': 3.2554945054945055, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3132922', 'n_tokens_mistral': 518, 'n_tokens_neox': 499, 'n_words': 76}