#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();"


#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();"


Remove the unnecessary javascript_dim calls in the OPS explorer
Remove the unnecessary javascript_dim calls in the OPS explorer
