<commit_before>#main_div
  - if role_allows?(:feature => "ops_settings") || role_allows?(:feature => "ops_rbac", :any => true) || role_allows?(:feature => "ops_diagnostics") || role_allows?(:feature => "ops_db")
    #tab_all_tabs_div= render :partial => "all_tabs"

%script{:type => "text/javascript"}
  -# Create from/to date JS vars to limit calendar starting from
  ManageIQ.calendar.calDateFrom = miqCalendarDateConversion("#{@timezone_offset}");
  ManageIQ.calendar.calDateTo = null

  function miqOpsAfterOnload() {
  = javascript_dim("settings_tree_div", false) if role_allows?(:feature => "ops_settings")
  = javascript_dim("diagnostics_tree_div", false) if role_allows?(:feature => "ops_diagnostics")
  = javascript_dim("vmdb_tree_div", false) if role_allows?(:feature => "ops_db")
  = javascript_dim("rbac_tree_div", false) if role_allows?(:feature => "ops_rbac", :any => true)
  - if @sb[:active_tab] == "db_utilization"
    miqAsyncAjax('#{url_for_only_path(:action => @ajax_action, :id => @record)}');
  };
  ManageIQ.afterOnload = "miqOpsAfterOnload();"
<commit_msg>Remove the unnecessary javascript_dim calls in the OPS explorer<commit_after>#main_div
  - if role_allows?(:feature => "ops_settings") || role_allows?(:feature => "ops_rbac", :any => true) || role_allows?(:feature => "ops_diagnostics") || role_allows?(:feature => "ops_db")
    #tab_all_tabs_div= render :partial => "all_tabs"

%script{:type => "text/javascript"}
  -# Create from/to date JS vars to limit calendar starting from
  ManageIQ.calendar.calDateFrom = miqCalendarDateConversion("#{@timezone_offset}");
  ManageIQ.calendar.calDateTo = null

  function miqOpsAfterOnload() {
  - if @sb[:active_tab] == "db_utilization"
    miqAsyncAjax('#{url_for_only_path(:action => @ajax_action, :id => @record)}');
  };
  ManageIQ.afterOnload = "miqOpsAfterOnload();"

{'fraction_non_alphanumeric': 0.16377440347071584, 'fraction_numerical': 0.0, 'mean_word_length': 6.439516129032258, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 26, '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': '7226399', 'n_tokens_mistral': 658, 'n_tokens_neox': 625, 'n_words': 116}