Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get rid of jquery-rjs #6521

Open
himdel opened this issue Dec 10, 2019 · 7 comments
Open

get rid of jquery-rjs #6521

himdel opened this issue Dec 10, 2019 · 7 comments

Comments

@himdel
Copy link
Contributor

himdel commented Dec 10, 2019

Currently, we still depend on jquery-rjs as a gem (https://github.com/ManageIQ/manageiq/blob/4d4a1739f376ff3d1a2f40d04767e962535aef49/Gemfile#L218).

Get rid of the code still using it,
and drop the dependency.

@miq-bot assign himdel

@jrafanie
Copy link
Member

jrafanie commented Sep 12, 2022

Here's a list of places that appear to be still using rjs. Note, I don't know the reason for using it in some places where we're still rending a partial

app/controllers/ansible_repository_controller.rb:      render :update do |page|
app/controllers/ansible_repository_controller.rb-        page << javascript_prologue
app/controllers/ansible_repository_controller.rb-        page.replace("gtl_div", :partial => "layouts/gtl")
--
app/controllers/ansible_repository_controller.rb:      render :update do |page|
app/controllers/ansible_repository_controller.rb-        page << javascript_prologue
app/controllers/ansible_repository_controller.rb-        page.replace("main_div", :template => "ansible_repository/show")
--
app/controllers/application_controller.rb:        render :update do |page|
app/controllers/application_controller.rb-          page << javascript_prologue
app/controllers/application_controller.rb-
--
app/controllers/application_controller.rb:    render :update do |page|
app/controllers/application_controller.rb-      page << javascript_prologue
app/controllers/application_controller.rb-      page.replace(:flash_msg_div, :partial => "layouts/flash_msg") # Replace the flash message
--
app/controllers/application_controller/advanced_search.rb:    render :update do |page|
app/controllers/application_controller/advanced_search.rb-      page << javascript_prologue
app/controllers/application_controller/advanced_search.rb-      page.replace("#{tree_name}_div",  :partial => "shared/tree",               :locals => {:tree => tree, :name => tree_name})
--
app/controllers/application_controller/advanced_search.rb:    render :update do |page|
app/controllers/application_controller/advanced_search.rb-      page << javascript_prologue
app/controllers/application_controller/advanced_search.rb-      page.replace(:listnav_div, :partial => "layouts/listnav")
--
app/controllers/application_controller/advanced_search.rb:    render :update do |page|
app/controllers/application_controller/advanced_search.rb-      page << javascript_prologue
app/controllers/application_controller/advanced_search.rb-      unless %w[load save].include?(display_mode)
--
app/controllers/application_controller/advanced_search.rb:    render :update do |page|
app/controllers/application_controller/advanced_search.rb-      page << javascript_prologue
app/controllers/application_controller/advanced_search.rb-    end
--
app/controllers/application_controller/automate.rb:    render :update do |page|
app/controllers/application_controller/automate.rb-      page << javascript_prologue
app/controllers/application_controller/automate.rb-      page.replace("left_cell_bottom", :partial => "resolve_form_buttons")
--
app/controllers/application_controller/automate.rb:    render :update do |page|
app/controllers/application_controller/automate.rb-      page << javascript_prologue
app/controllers/application_controller/automate.rb-      page.replace_html("main_div", :partial => "shared/buttons/ab_list")
--
app/controllers/application_controller/automate.rb:    render :update do |page|
app/controllers/application_controller/automate.rb-      page << javascript_prologue
app/controllers/application_controller/automate.rb-      page.replace("left_cell_bottom", :partial => "resolve_form_buttons")
--
app/controllers/application_controller/buttons.rb:      render :update do |page|
app/controllers/application_controller/buttons.rb-        page << javascript_prologue
app/controllers/application_controller/buttons.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg") unless @refresh_div && @refresh_div != "column_lists"
--
app/controllers/application_controller/buttons.rb:    render :update do |page|
app/controllers/application_controller/buttons.rb-      page << javascript_prologue
app/controllers/application_controller/buttons.rb-      if %i[display_for instance_name other_name target_class button_type].any? { |k| params.key?(k) }
--
app/controllers/application_controller/buttons.rb:        render :update do |page|
app/controllers/application_controller/buttons.rb-          page << javascript_prologue
app/controllers/application_controller/buttons.rb-          page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/application_controller/buttons.rb:        render :update do |page|
app/controllers/application_controller/buttons.rb-          page << javascript_prologue
app/controllers/application_controller/buttons.rb-          page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/application_controller/compare.rb:    render :update do |page|
app/controllers/application_controller/compare.rb-      page << javascript_prologue
app/controllers/application_controller/compare.rb-      page << "miqSparkle(false);"
--
app/controllers/application_controller/compare.rb:      render :update do |page|
app/controllers/application_controller/compare.rb-        page << javascript_prologue
app/controllers/application_controller/compare.rb-        page << javascript_for_miq_button_visibility(!session[:selected_sections].empty?)
--
app/controllers/application_controller/compare.rb:    render :update do |page|
app/controllers/application_controller/compare.rb-      page << javascript_prologue
app/controllers/application_controller/compare.rb-      page << "ManageIQ.toolbars.applyChanges(#{button_changes.to_json})"
--
app/controllers/application_controller/filter.rb:      render :update do |page|
app/controllers/application_controller/filter.rb-        page << javascript_prologue
app/controllers/application_controller/filter.rb-        page << "miqScrollTop();" if @flash_array.present?
--
app/controllers/application_controller/filter.rb:      render :update do |page|
app/controllers/application_controller/filter.rb-        page << javascript_prologue
app/controllers/application_controller/filter.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/application_controller/filter.rb:      render :update do |page|
app/controllers/application_controller/filter.rb-        page << javascript_prologue
app/controllers/application_controller/filter.rb-      end
--
app/controllers/application_controller/filter.rb:      render :update do |page|
app/controllers/application_controller/filter.rb-        page << javascript_prologue
app/controllers/application_controller/filter.rb-        page.replace("exp_editor_flash", :partial => "layouts/flash_msg", :locals => {:flash_div_id => 'exp_editor_flash'})
--
app/controllers/application_controller/filter.rb:    render :update do |page|
app/controllers/application_controller/filter.rb-      page << javascript_prologue
app/controllers/application_controller/filter.rb-      page << "ManageIQ.explorer.clearSearchToggle(#{clear_search_status});"
--
app/controllers/application_controller/filter.rb:    render :update do |page|
app/controllers/application_controller/filter.rb-      page << javascript_prologue
app/controllers/application_controller/filter.rb-      page << javascript_hide("advsearchModal")
--
app/controllers/application_controller/filter.rb:    render :update do |page|
app/controllers/application_controller/filter.rb-      page << javascript_prologue
app/controllers/application_controller/filter.rb-      page << "miqTreeActivateNodeSilently('#{x_active_tree}', '#{x_node}');" if @edit[:in_explorer]
--
app/controllers/application_controller/filter.rb:      render :update do |page|
app/controllers/application_controller/filter.rb-        page << javascript_prologue
app/controllers/application_controller/filter.rb-        page << javascript_for_miq_button_visibility(!any_empty, 'quick_search')
--
app/controllers/application_controller/filter.rb:    render :update do |page|
app/controllers/application_controller/filter.rb-      page << javascript_prologue
app/controllers/application_controller/filter.rb-      page.replace(:user_input_filter, :partial => "layouts/user_input_filter")
--
app/controllers/application_controller/miq_request_methods.rb:      render :update do |page|
app/controllers/application_controller/miq_request_methods.rb-        page << javascript_prologue
app/controllers/application_controller/miq_request_methods.rb-        # Going thru all dialogs to see if model has set any of the dialog display to hide/ignore
--
app/controllers/application_controller/miq_request_methods.rb:      render :update do |page|
app/controllers/application_controller/miq_request_methods.rb-        page << javascript_prologue
app/controllers/application_controller/miq_request_methods.rb-        page << "$('#row_#{j_str(@edit[:src_vm_id])}').removeClass('selected');" if @edit[:src_vm_id]
--
app/controllers/application_controller/miq_request_methods.rb:    render :update do |page|
app/controllers/application_controller/miq_request_methods.rb-      page << javascript_prologue
app/controllers/application_controller/miq_request_methods.rb-      page.replace("pre_prov_div", :partial => "miq_request/pre_prov")
--
app/controllers/application_controller/miq_request_methods.rb:    render :update do |page|
app/controllers/application_controller/miq_request_methods.rb-      page << javascript_prologue
app/controllers/application_controller/miq_request_methods.rb-      page.replace("prov_#{what}_div", :partial => "miq_request/prov_#{what}_grid", :locals => {:field_id => params[:field_id]})
--
app/controllers/application_controller/miq_request_methods.rb:      render :update do |page|
app/controllers/application_controller/miq_request_methods.rb-        page << javascript_prologue
app/controllers/application_controller/miq_request_methods.rb-        page.replace("prov_wf_div", :partial => "/miq_request/prov_wf") if @error_div
--
app/controllers/application_controller/performance.rb:    render :update do |page|
app/controllers/application_controller/performance.rb-      page << javascript_prologue
app/controllers/application_controller/performance.rb-      page << if @parent_chart_data
--
app/controllers/application_controller/performance.rb:      render :update do |page|
app/controllers/application_controller/performance.rb-        page << javascript_prologue
app/controllers/application_controller/performance.rb-        page << 'ManageIQ.charts.chartData = ' + {"candu" => @chart_data}.to_json + ';'
--
app/controllers/application_controller/performance.rb:    render :update do |page|
app/controllers/application_controller/performance.rb-      page << javascript_prologue
app/controllers/application_controller/performance.rb-      page << if @parent_chart_data
--
app/controllers/application_controller/performance.rb:    render :update do |page|
app/controllers/application_controller/performance.rb-      page << javascript_prologue
app/controllers/application_controller/performance.rb-      page << if @parent_chart_data
--
app/controllers/application_controller/policy_support.rb:      render :update do |page|
app/controllers/application_controller/policy_support.rb-        page << javascript_prologue
app/controllers/application_controller/policy_support.rb-        if changed != session[:changed]
--
app/controllers/application_controller/report_downloads.rb:    render :update do |page|
app/controllers/application_controller/report_downloads.rb-      page << javascript_prologue
app/controllers/application_controller/report_downloads.rb-      page << "miqSparkle(false);"
--
app/controllers/application_controller/timelines.rb:    render :update do |page|
app/controllers/application_controller/timelines.rb-      page << javascript_prologue
app/controllers/application_controller/timelines.rb-      page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/application_controller/wait_for_task.rb:    render :update do |page|
app/controllers/application_controller/wait_for_task.rb-      page << javascript_prologue
app/controllers/application_controller/wait_for_task.rb-      ajax_call = remote_function(:url => {:action => 'wait_for_task', :task_id => task_id})
--
app/controllers/catalog_controller.rb:    render :update do |page|
app/controllers/catalog_controller.rb-      page << javascript_prologue
app/controllers/catalog_controller.rb-      if @edit[:new][:st_prov_type] == "generic_ansible_playbook"
--
app/controllers/catalog_controller.rb:    render :update do |page|
app/controllers/catalog_controller.rb-      page << javascript_prologue
app/controllers/catalog_controller.rb-      page.replace("basic_info_div", :partial => "form_basic_info") if params[:resource_id] || params[:display]
--
app/controllers/catalog_controller.rb:    render :update do |page|
app/controllers/catalog_controller.rb-      page << javascript_prologue
app/controllers/catalog_controller.rb-      page.replace("basic_info_div", :partial => "form_basic_info")
--
app/controllers/catalog_controller.rb:    render :update do |page|
app/controllers/catalog_controller.rb-      page << javascript_prologue
app/controllers/catalog_controller.rb-      @changed = (@edit[:new] != @edit[:current])
--
app/controllers/chargeback_assignment_controller.rb:    render :update do |page|
app/controllers/chargeback_assignment_controller.rb-      page << javascript_prologue
app/controllers/chargeback_assignment_controller.rb-      except = %i[cbshow_typ cbtag_cat cblabel_key]
--
app/controllers/chargeback_assignment_controller.rb:    render :update do |page|
app/controllers/chargeback_assignment_controller.rb-      page << javascript_prologue
app/controllers/chargeback_assignment_controller.rb-      page.replace(@edit[:new][:type], :partial => "#{@edit[:new][:type].downcase}_assignments")
--
app/controllers/chargeback_rate_controller.rb:    render :update do |page|
app/controllers/chargeback_rate_controller.rb-      page << javascript_prologue
app/controllers/chargeback_rate_controller.rb-      changed = (@edit[:new] != @edit[:current])
--
app/controllers/chargeback_rate_controller.rb:    render :update do |page|
app/controllers/chargeback_rate_controller.rb-      page << javascript_prologue
app/controllers/chargeback_rate_controller.rb-      page.replace_html("chargeback_rate_edit_form", :partial => "cb_rate_edit_table")
--
app/controllers/chargeback_rate_controller.rb:    render :update do |page|
app/controllers/chargeback_rate_controller.rb-      page << javascript_prologue
app/controllers/chargeback_rate_controller.rb-      # Update the first row to change the colspan
--
app/controllers/condition_controller.rb:        render :update do |page|
app/controllers/condition_controller.rb-          page << javascript_prologue
app/controllers/condition_controller.rb-          page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/configuration_controller.rb:      render :update do |page|
app/controllers/configuration_controller.rb-        page << javascript_prologue
app/controllers/configuration_controller.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/configuration_controller.rb:    render :update do |page|
app/controllers/configuration_controller.rb-      page << javascript_prologue
app/controllers/configuration_controller.rb-      page << javascript_for_miq_button_visibility(@changed)
--
app/controllers/configuration_controller.rb:    render :update do |page|
app/controllers/configuration_controller.rb-      page << javascript_prologue
app/controllers/configuration_controller.rb-      page << javascript_for_miq_button_visibility(@changed)
--
app/controllers/configuration_controller.rb:    render :update do |page|
app/controllers/configuration_controller.rb-      page << javascript_prologue
app/controllers/configuration_controller.rb-      page.replace('tab_div', :partial => 'ui_1')
--
app/controllers/dashboard_controller.rb:      render :update do |page|
app/controllers/dashboard_controller.rb-        page << javascript_prologue
app/controllers/dashboard_controller.rb-        @login_message = logon_details[:message] if logon_details[:message]
--
app/controllers/dashboard_controller.rb:        render :update do |page|
app/controllers/dashboard_controller.rb-          page << javascript_prologue
app/controllers/dashboard_controller.rb-          page.replace("login_more_div", :partial => "login_more")
--
app/controllers/dashboard_controller.rb:        render :update do |page|
app/controllers/dashboard_controller.rb-          page << javascript_prologue
app/controllers/dashboard_controller.rb-          page.replace("login_more_div", :partial => "login_more")
--
app/controllers/dashboard_controller.rb:      render :update do |page|
app/controllers/dashboard_controller.rb-        page << javascript_prologue
app/controllers/dashboard_controller.rb-        page.redirect_to(validation.url)
--
app/controllers/dashboard_controller.rb:      render :update do |page|
app/controllers/dashboard_controller.rb-        page << javascript_prologue
app/controllers/dashboard_controller.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/host_controller.rb:        render :update do |page|
app/controllers/host_controller.rb-          page << javascript_prologue
app/controllers/host_controller.rb-          new_url = url_for_only_path(:action => "update", :button => "validate", :type => params[:type], :remember_host => "true", :escape => false)
--
app/controllers/infra_networking_controller.rb:      render :update do |page|
app/controllers/infra_networking_controller.rb-        page << javascript_prologue
app/controllers/infra_networking_controller.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/infra_networking_controller.rb:      render :update do |page|
app/controllers/infra_networking_controller.rb-        page << javascript_prologue
app/controllers/infra_networking_controller.rb-        page.replace_html("main_div", :partial => "layouts/textual_groups_generic")
--
app/controllers/miq_action_controller.rb:      render :update do |page|
app/controllers/miq_action_controller.rb-        page << javascript_prologue
app/controllers/miq_action_controller.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      if @sb[:squash_state]
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page << "if (miqDomElementExists('cls_method_data')){"
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      unless %w[up down].include?(params[:button])
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace_html('form_div', :partial => 'method_form', :locals => {:prefix => ""}) if @edit[:new][:location] == 'expression'
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace("class_fields_div", :partial => "class_fields")
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace("class_fields_div", :partial => "class_fields")
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace("class_fields_div", :partial => "class_fields")
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace_html(@refresh_div, :partial => @refresh_partial)
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace_html(@refresh_div, :partial => @refresh_partial)
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace_html(@refresh_div, :partial => @refresh_partial)
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace('column_lists', :partial => 'fields_seq_form')
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace('domains_list',
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page << javascript_hide("ae_tree_select_div")
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page << javascript_show("flash_msg_div")
--
app/controllers/miq_ae_class_controller.rb:    render :update do |page|
app/controllers/miq_ae_class_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_class_controller.rb-      page << javascript_for_miq_button_visibility(@changed)
--
app/controllers/miq_ae_customization_controller/old_dialogs.rb:    render :update do |page|
app/controllers/miq_ae_customization_controller/old_dialogs.rb-      page << javascript_prologue
app/controllers/miq_ae_customization_controller/old_dialogs.rb-      changed = (@edit[:new] != @edit[:current])
--
app/controllers/miq_ae_tools_controller.rb:    render :update do |page|
app/controllers/miq_ae_tools_controller.rb-      page << javascript_prologue
app/controllers/miq_ae_tools_controller.rb-      if params.key?(:instance_name) || params.key?(:starting_object) ||
--
app/controllers/miq_alert_set_controller.rb:      render :update do |page|
app/controllers/miq_alert_set_controller.rb-        page << javascript_prologue
app/controllers/miq_alert_set_controller.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/miq_policy_controller/events.rb:      render :update do |page|
app/controllers/miq_policy_controller/events.rb-        page << javascript_prologue
app/controllers/miq_policy_controller/events.rb-        page.replace('event_edit_div', :partial => 'event_edit')
--
app/controllers/miq_policy_controller/events.rb:    render :update do |page|
app/controllers/miq_policy_controller/events.rb-      page << javascript_prologue
app/controllers/miq_policy_controller/events.rb-      page.replace('event_edit_div', :partial => 'event_edit')
--
app/controllers/miq_policy_controller/policies.rb:    render :update do |page|
app/controllers/miq_policy_controller/policies.rb-      page << javascript_prologue
app/controllers/miq_policy_controller/policies.rb-      page.replace('policy_conditions_div', :partial => 'miq_policy_edit_conditions')
--
app/controllers/miq_policy_export_controller.rb:        render :update do |page|
app/controllers/miq_policy_export_controller.rb-          page << javascript_prologue
app/controllers/miq_policy_export_controller.rb-          page.replace_html("profile_export_div", :partial => "export")
--
app/controllers/miq_policy_export_controller.rb:        render :update do |page|
app/controllers/miq_policy_export_controller.rb-          page << javascript_prologue
app/controllers/miq_policy_export_controller.rb-          page.replace_html("profile_export_div", :partial => "export")
--
app/controllers/miq_policy_export_controller.rb:      render :update do |page|
app/controllers/miq_policy_export_controller.rb-        page << javascript_prologue
app/controllers/miq_policy_export_controller.rb-        page.replace_html("profile_export_div", :partial => "export")
--
app/controllers/miq_policy_export_controller.rb:    render :update do |page|
app/controllers/miq_policy_export_controller.rb-      page << javascript_prologue
app/controllers/miq_policy_export_controller.rb-      if prev_dbtype != @sb[:dbtype] # If any export db type has changed
--
app/controllers/miq_policy_rsop_controller.rb:      render :update do |page|
app/controllers/miq_policy_rsop_controller.rb-        page << javascript_prologue
app/controllers/miq_policy_rsop_controller.rb-        page.replace_html("main_div", :partial => "rsop_results")
--
app/controllers/miq_policy_rsop_controller.rb:    render :update do |page|
app/controllers/miq_policy_rsop_controller.rb-      page << javascript_prologue
app/controllers/miq_policy_rsop_controller.rb-      session[:changed] = !!(@sb[:rsop][:filter_value] && @sb[:rsop][:event_value])
--
app/controllers/miq_policy_rsop_controller.rb:    render :update do |page|
app/controllers/miq_policy_rsop_controller.rb-      page << javascript_prologue
app/controllers/miq_policy_rsop_controller.rb-      if params[:action] == "rsop_toggle"
--
app/controllers/miq_request_controller.rb:    render :update do |page|
app/controllers/miq_request_controller.rb-      page << javascript_prologue
app/controllers/miq_request_controller.rb-      page << javascript_for_miq_button_visibility(@edit[:reason].present?)
--
app/controllers/miq_request_controller.rb:      render :update do |page|
app/controllers/miq_request_controller.rb-        page << javascript_prologue
app/controllers/miq_request_controller.rb-        if @error_div
--
app/controllers/miq_request_controller.rb:    render :update do |page|
app/controllers/miq_request_controller.rb-      page << javascript_prologue
app/controllers/miq_request_controller.rb-      page.replace_html(
--
app/controllers/miq_request_controller.rb:      render :update do |page|
app/controllers/miq_request_controller.rb-        page << javascript_prologue
app/controllers/miq_request_controller.rb-        page.replace_html(:requester, :partial => "shared/views/prov_dialog",
--
app/controllers/miq_request_controller.rb:    render :update do |page|
app/controllers/miq_request_controller.rb-      page << javascript_prologue
app/controllers/miq_request_controller.rb-      page.replace('gtl_div', :partial => 'layouts/gtl', :locals => {:no_flash_div => true})
--
app/controllers/miq_request_controller.rb:      render :update do |page|
app/controllers/miq_request_controller.rb-        page << javascript_prologue
app/controllers/miq_request_controller.rb-        page.replace("request_div", :partial => "miq_request/request")
--
app/controllers/miq_task_controller.rb:    render :update do |page|
app/controllers/miq_task_controller.rb-      page << javascript_prologue
app/controllers/miq_task_controller.rb-      unless @refresh_partial.nil?
--
app/controllers/mixins/actions/vm_actions/associate_floating_ip.rb:              render :update do |page|
app/controllers/mixins/actions/vm_actions/associate_floating_ip.rb-                page << javascript_prologue
app/controllers/mixins/actions/vm_actions/associate_floating_ip.rb-                page.redirect_to(:controller => 'vm',
--
app/controllers/mixins/actions/vm_actions/associate_floating_ip.rb:            render :update do |page|
app/controllers/mixins/actions/vm_actions/associate_floating_ip.rb-              page << javascript_prologue
app/controllers/mixins/actions/vm_actions/associate_floating_ip.rb-              page.redirect_to(previous_breadcrumb_url)
--
app/controllers/mixins/actions/vm_actions/disassociate_floating_ip.rb:              render :update do |page|
app/controllers/mixins/actions/vm_actions/disassociate_floating_ip.rb-                page << javascript_prologue
app/controllers/mixins/actions/vm_actions/disassociate_floating_ip.rb-                page.redirect_to(:controller => 'vm',
--
app/controllers/mixins/explorer_show.rb:        render :update do |page|
app/controllers/mixins/explorer_show.rb-          page << javascript_prologue
app/controllers/mixins/explorer_show.rb-          page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/mixins/explorer_show.rb:        render :update do |page|
app/controllers/mixins/explorer_show.rb-          page << javascript_prologue
app/controllers/mixins/explorer_show.rb-          page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/mixins/playbook_options.rb:      render :update do |page|
app/controllers/mixins/playbook_options.rb-        page << javascript_prologue
app/controllers/mixins/playbook_options.rb-        if @edit[:new][:button_type] == 'ansible_playbook'
--
app/controllers/mixins/policy_mixin.rb:      render :update do |page|
app/controllers/mixins/policy_mixin.rb-        page << javascript_prologue
app/controllers/mixins/policy_mixin.rb-        if @edit
--
app/controllers/mixins/policy_mixin.rb:        render :update do |page|
app/controllers/mixins/policy_mixin.rb-          page << javascript_prologue
app/controllers/mixins/policy_mixin.rb-          page.replace("gtl_div", :partial => "layouts/gtl", :locals => {:action_url => "#{what}_get_all", :button_div => 'policy_bar'})
--
app/controllers/mixins/saved_report_paging.rb:      render :update do |page|
app/controllers/mixins/saved_report_paging.rb-        page << javascript_prologue
app/controllers/mixins/saved_report_paging.rb-        page.replace("report_html_div", :partial => "layouts/report_html")
--
app/controllers/mixins/service_dialog_creation_mixin.rb:    render :update do |page|
app/controllers/mixins/service_dialog_creation_mixin.rb-      page << javascript_prologue
app/controllers/mixins/service_dialog_creation_mixin.rb-      page << javascript_hide("buttons_off")
--
app/controllers/ops_controller/diagnostics.rb:        render :update do |page|
app/controllers/ops_controller/diagnostics.rb-          page << javascript_prologue
app/controllers/ops_controller/diagnostics.rb-          page.replace_html("diagnostics_collect_logs", :partial => "ops/log_collection")
--
app/controllers/ops_controller/diagnostics.rb:    render :update do |page|
app/controllers/ops_controller/diagnostics.rb-      page << javascript_prologue
app/controllers/ops_controller/diagnostics.rb-      page.replace_html("diagnostics_evm_log", :partial => "diagnostics_evm_log_tab")
--
app/controllers/ops_controller/diagnostics.rb:    render :update do |page|
app/controllers/ops_controller/diagnostics.rb-      page << javascript_prologue
app/controllers/ops_controller/diagnostics.rb-      page.replace_html("diagnostics_audit_log", :partial => "diagnostics_audit_log_tab")
--
app/controllers/ops_controller/diagnostics.rb:    render :update do |page|
app/controllers/ops_controller/diagnostics.rb-      page << javascript_prologue
app/controllers/ops_controller/diagnostics.rb-      page.replace_html("diagnostics_production_log", :partial => "diagnostics_production_log_tab")
--
app/controllers/ops_controller/diagnostics.rb:    render :update do |page|
app/controllers/ops_controller/diagnostics.rb-      page << javascript_prologue
app/controllers/ops_controller/diagnostics.rb-      page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/diagnostics.rb:    render :update do |page|
app/controllers/ops_controller/diagnostics.rb-      page << javascript_prologue
app/controllers/ops_controller/diagnostics.rb-      page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/diagnostics.rb:    render :update do |page|
app/controllers/ops_controller/diagnostics.rb-      page << javascript_prologue
app/controllers/ops_controller/diagnostics.rb-      page.replace_html('diagnostics_orphaned_data', :partial => 'diagnostics_savedreports')
--
app/controllers/ops_controller/diagnostics.rb:    render :update do |page|
app/controllers/ops_controller/diagnostics.rb-      page << javascript_prologue
app/controllers/ops_controller/diagnostics.rb-      page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/diagnostics.rb:    render :update do |page|
app/controllers/ops_controller/diagnostics.rb-      page << javascript_prologue
app/controllers/ops_controller/diagnostics.rb-      #   Replace tree
--
app/controllers/ops_controller/ops_rbac.rb:      render :update do |page|
app/controllers/ops_controller/ops_rbac.rb-        page << javascript_prologue
app/controllers/ops_controller/ops_rbac.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/ops_rbac.rb:      render :update do |page|
app/controllers/ops_controller/ops_rbac.rb-        page << javascript_prologue
app/controllers/ops_controller/ops_rbac.rb-        page.replace("ldap_user_div", :partial => "ldap_auth_users")
--
app/controllers/ops_controller/ops_rbac.rb:    render :update do |page|
app/controllers/ops_controller/ops_rbac.rb-      page << javascript_prologue
app/controllers/ops_controller/ops_rbac.rb-      if %w[up down].include?(params[:button])
--
app/controllers/ops_controller/settings.rb:    render :update do |page|
app/controllers/ops_controller/settings.rb-      page << javascript_prologue
app/controllers/ops_controller/settings.rb-      page << "$('#user_proxies_ldapport').val('#{port}');"
--
app/controllers/ops_controller/settings.rb:      render :update do |page|
app/controllers/ops_controller/settings.rb-        page << javascript_prologue
app/controllers/ops_controller/settings.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings.rb:      render :update do |page|
app/controllers/ops_controller/settings.rb-        page << javascript_prologue
app/controllers/ops_controller/settings.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings.rb:    render :update do |page|
app/controllers/ops_controller/settings.rb-      page << javascript_prologue
app/controllers/ops_controller/settings.rb-      page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings.rb:    render :update do |page|
app/controllers/ops_controller/settings.rb-      page << javascript_prologue
app/controllers/ops_controller/settings.rb-      page << javascript_for_miq_button_visibility(@changed)
--
app/controllers/ops_controller/settings/analysis_profiles.rb:      render :update do |page|
app/controllers/ops_controller/settings/analysis_profiles.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/analysis_profiles.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings/analysis_profiles.rb:      render :update do |page|
app/controllers/ops_controller/settings/analysis_profiles.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/analysis_profiles.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings/analysis_profiles.rb:      render :update do |page|
app/controllers/ops_controller/settings/analysis_profiles.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/analysis_profiles.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings/analysis_profiles.rb:      render :update do |page|
app/controllers/ops_controller/settings/analysis_profiles.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/analysis_profiles.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings/analysis_profiles.rb:    render :update do |page|
app/controllers/ops_controller/settings/analysis_profiles.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/analysis_profiles.rb-      page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings/analysis_profiles.rb:    render :update do |page|
app/controllers/ops_controller/settings/analysis_profiles.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/analysis_profiles.rb-      page << "miqSparkle(false);"
--
app/controllers/ops_controller/settings/analysis_profiles.rb:    render :update do |page|
app/controllers/ops_controller/settings/analysis_profiles.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/analysis_profiles.rb-      page << javascript_for_miq_button_visibility_changed(changed)
--
app/controllers/ops_controller/settings/analysis_profiles.rb:    render :update do |page|
app/controllers/ops_controller/settings/analysis_profiles.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/analysis_profiles.rb-      page.replace("ap_form_div", :partial => "ap_form")
--
app/controllers/ops_controller/settings/cap_and_u.rb:    render :update do |page|
app/controllers/ops_controller/settings/cap_and_u.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/cap_and_u.rb-      page.replace_html(@refresh_div, :partial => @refresh_partial) if @refresh_div
--
app/controllers/ops_controller/settings/common.rb:    render :update do |page|
app/controllers/ops_controller/settings/common.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/common.rb-      page.replace_html(@refresh_div, :partial => @refresh_partial) if @refresh_div
--
app/controllers/ops_controller/settings/help_menu.rb:    render :update do |page|
app/controllers/ops_controller/settings/help_menu.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/help_menu.rb-      page << javascript_for_miq_button_visibility(!success)
--
app/controllers/ops_controller/settings/help_menu.rb:    render :update do |page|
app/controllers/ops_controller/settings/help_menu.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/help_menu.rb-      page << javascript_for_miq_button_visibility(changed)
--
app/controllers/ops_controller/settings/label_tag_mapping.rb:    render :update do |page|
app/controllers/ops_controller/settings/label_tag_mapping.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/label_tag_mapping.rb-
--
app/controllers/ops_controller/settings/label_tag_mapping.rb:      render :update do |page|
app/controllers/ops_controller/settings/label_tag_mapping.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/label_tag_mapping.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings/tags.rb:      render :update do |page|
app/controllers/ops_controller/settings/tags.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/tags.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings/tags.rb:    render :update do |page|
app/controllers/ops_controller/settings/tags.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/tags.rb-      if @refresh_div
--
app/controllers/ops_controller/settings/tags.rb:      render :update do |page|
app/controllers/ops_controller/settings/tags.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/tags.rb-        page.replace(:tab_div, :partial => "settings_co_tags_tab")
--
app/controllers/ops_controller/settings/tags.rb:      render :update do |page|
app/controllers/ops_controller/settings/tags.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/tags.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings/tags.rb:      render :update do |page|
app/controllers/ops_controller/settings/tags.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/tags.rb-        page.replace("flash_msg_div", :partial => "layouts/flash_msg")
--
app/controllers/ops_controller/settings/tags.rb:    render :update do |page|
app/controllers/ops_controller/settings/tags.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/tags.rb-      page.replace(:tab_div, :partial => "settings_co_tags_tab")
--
app/controllers/ops_controller/settings/tags.rb:      render :update do |page|
app/controllers/ops_controller/settings/tags.rb-        page << javascript_prologue
app/controllers/ops_controller/settings/tags.rb-        page.replace(:tab_div, :partial => "settings_co_tags_tab")
--
app/controllers/ops_controller/settings/upload.rb:    render :update do |page|
app/controllers/ops_controller/settings/upload.rb-      page << javascript_prologue
app/controllers/ops_controller/settings/upload.rb-      page.replace_html("settings_import", :partial => "settings_import_tab")
--
app/controllers/orchestration_stack_controller.rb:        render :update do |page|
app/controllers/orchestration_stack_controller.rb-          page << javascript_prologue
app/controllers/orchestration_stack_controller.rb-          page.replace(:form_div, :partial => "stack_orchestration_template")
--
app/controllers/orchestration_stack_controller.rb:      render :update do |page|
app/controllers/orchestration_stack_controller.rb-        page << javascript_prologue
app/controllers/orchestration_stack_controller.rb-        page.replace(:form_div, :partial => "copy_orchestration_template")
--
app/controllers/orchestration_stack_controller.rb:    render :update do |page|
app/controllers/orchestration_stack_controller.rb-      page << javascript_prologue
app/controllers/orchestration_stack_controller.rb-      page.replace(:form_div, :partial => "stack_orchestration_template")
--
app/controllers/physical_server_controller.rb:      render :update do |page|
app/controllers/physical_server_controller.rb-        page << javascript_prologue
app/controllers/physical_server_controller.rb-        page << set_spinner_off
--
app/controllers/pxe_controller/pxe_servers.rb:    render :update do |page|
app/controllers/pxe_controller/pxe_servers.rb-      page << javascript_prologue
app/controllers/pxe_controller/pxe_servers.rb-      changed = (@edit[:new] != @edit[:current])
--
app/controllers/report_controller/dashboards.rb:    render :update do |page|
app/controllers/report_controller/dashboards.rb-      page << javascript_prologue
app/controllers/report_controller/dashboards.rb-      changed = (@edit[:new] != @edit[:current])
--
app/controllers/report_controller/dashboards.rb:    render :update do |page|
app/controllers/report_controller/dashboards.rb-      page << javascript_prologue
app/controllers/report_controller/dashboards.rb-      changed = (@edit[:new] != @edit[:current])
--
app/controllers/report_controller/dashboards.rb:    render :update do |page|
app/controllers/report_controller/dashboards.rb-      page << javascript_prologue
app/controllers/report_controller/dashboards.rb-      changed = (@edit[:new] != @edit[:current])
--
app/controllers/report_controller/reports.rb:    render :update do |page|
app/controllers/report_controller/reports.rb-      page << javascript_prologue
app/controllers/report_controller/reports.rb-      page.replace_html("form_preview", :partial => "form_preview")
--
app/controllers/report_controller/reports/editor.rb:    render :update do |page|
app/controllers/report_controller/reports/editor.rb-      page << javascript_prologue
app/controllers/report_controller/reports/editor.rb-      page.replace("flash_msg_div", :partial => "layouts/flash_msg") unless @refresh_div && @refresh_div != "column_lists"
--
app/controllers/report_controller/reports/editor.rb:    render :update do |page|
app/controllers/report_controller/reports/editor.rb-      page << javascript_prologue
app/controllers/report_controller/reports/editor.rb-      page.replace("filter_div", :partial => "form_filter")
--
app/controllers/report_controller/schedules.rb:    render :update do |page|
app/controllers/report_controller/schedules.rb-      page << javascript_prologue
app/controllers/report_controller/schedules.rb-      if params[:filter_typ]
--
app/controllers/report_controller/widgets.rb:    render :update do |page|
app/controllers/report_controller/widgets.rb-      page << javascript_prologue
app/controllers/report_controller/widgets.rb-      if params[:filter_typ]
--
app/controllers/report_controller/widgets.rb:    render :update do |page|
app/controllers/report_controller/widgets.rb-      page << javascript_prologue
app/controllers/report_controller/widgets.rb-      changed = (@edit[:new] != @edit[:current])
--
app/controllers/report_controller/widgets.rb:    render :update do |page|
app/controllers/report_controller/widgets.rb-      page << javascript_prologue
app/controllers/report_controller/widgets.rb-      page.replace("form_filter_div", :partial => "widget_form_filter")
--
app/controllers/report_controller/widgets.rb:    render :update do |page|
app/controllers/report_controller/widgets.rb-      page << javascript_prologue
app/controllers/report_controller/widgets.rb-      page.replace("form_filter_div", :partial => "widget_form_filter")
--
app/controllers/utilization_controller.rb:    render :update do |page|
app/controllers/utilization_controller.rb-      page << javascript_prologue
app/controllers/utilization_controller.rb-      page << javascript_reload_toolbars
--
app/controllers/vm_common.rb:    render :update do |page|
app/controllers/vm_common.rb-      page << javascript_prologue
app/controllers/vm_common.rb-      page << javascript_reload_toolbars
--
app/helpers/application_helper.rb:    render :update do |page|
app/helpers/application_helper.rb-      page << javascript_prologue
app/helpers/application_helper.rb-      page.replace("gtl_div",
--
app/helpers/application_helper.rb:    render :update do |page|
app/helpers/application_helper.rb-      page << javascript_prologue
app/helpers/application_helper.rb-      page.redirect_to(args)
--
app/helpers/automate_tree_helper.rb:    render :update do |page|
app/helpers/automate_tree_helper.rb-      page << javascript_prologue
app/helpers/automate_tree_helper.rb-      tree_close = proc do
--
app/helpers/automate_tree_helper.rb:    render :update do |page|
app/helpers/automate_tree_helper.rb-      page << javascript_prologue
app/helpers/automate_tree_helper.rb-      page << javascript_for_miq_button_visibility(@changed, 'automate')

@jrafanie
Copy link
Member

jrafanie commented Sep 12, 2022

app/controllers/application_controller/wait_for_task.rb:      ajax_call = remote_function(:url => {:action => 'wait_for_task', :task_id => task_id})
app/controllers/dashboard_controller.rb:        page << "setTimeout(\"#{remote_function(:url => {:action => 'login_retry'})}\", 10000);"
app/helpers/application_helper.rb:  # Wrapper around jquery-rjs' remote_function which adds an extra .html_safe()
app/helpers/application_helper.rb:  def remote_function(options)
app/helpers/catalog_helper.rb:        :onclick   => remote_function(:loading  => "miqSparkle(true);",
app/helpers/miq_action_helper.rb:                      :onclick => remote_function(:url => "/miq_policy/x_show/al-#{alert.id}?accord=alert"),
app/views/chargeback_report/_reports_list.html.haml:              %td.table-view-pf-select{:title => t, :onclick => remote_function(:loading => "miqSparkle(true);",
app/views/chargeback_report/_reports_list.html.haml:              %td{:title => t, :onclick => remote_function(:loading => "miqSparkle(true);",
app/views/chargeback_report/_reports_list.html.haml:              %td{:title => t, :onclick => remote_function(:loading => "miqSparkle(true);",
app/views/chargeback_report/_reports_list.html.haml:              %td{:title => t, :onclick => remote_function(:loading => "miqSparkle(true);",
app/views/layouts/_paging_bar.html.haml:              :onclick => remote_function(:loading  => "miqSparkle(true);",
app/views/layouts/_paging_bar.html.haml:                :onclick => remote_function(:loading  => "miqSparkle(true);",
app/views/layouts/_paging_bar.html.haml:                :onclick => remote_function(:loading  => "miqSparkle(true);",
app/views/layouts/_paging_bar.html.haml:                :onclick => remote_function(:loading  => "miqSparkle(true);",
app/views/layouts/_policy_sim.html.haml:                %button.btn.btn-default{:onclick  => "#{remote_function(:loading  => "miqSparkle(true);",
app/views/miq_ae_class/_class_fields.html.haml:            %tr{:onclick => remote_function(:url => {:action => 'field_select', :add => 'new', :item => "field"})}
app/views/miq_ae_class/_inputs.html.haml:        :onclick => remote_function(:url => {:action => 'field_method_select', :add => 'new', :item => "field"})}
app/views/miq_request/_prov_field.html.haml:              - onclick = remote_function(:with => "miqSerializeField('#{current_div}', '#{field_id}')", :url => url, :loading => "miqSparkle(true);", :complete => "miqSparkle(false);")
app/views/ops/_ap_form_file.html.haml:      %tr{:title => _("Click to add a new entry"), :onclick => remote_function(:url => {:action => 'ap_ce_select', :add => 'new', :item => "file", :id => scan_id})}
app/views/ops/_ap_form_file.html.haml:          %td{:onclick => remote_function(:url => {:action => 'ap_ce_select', :file_name => entry["target"], :edit_entry => 'edit_file', :field => "fname", :id => scan_id}), :title => _("Click to update this entry")}
app/views/ops/_ap_form_file.html.haml:          %td{:onclick => remote_function(:url => {:action => 'ap_ce_select', :file_name => entry["target"], :edit_entry => 'edit_file', :field => "fname", :id => scan_id}), :title => _("Click to update this entry")}
app/views/ops/_ap_form_file.html.haml:          %td.action-cell{:onclick => remote_function(:url => {:action => 'ap_ce_delete', :file_name => entry["target"], :id => scan_id}), :title => _("Click to delete this entry")}
app/views/ops/_ap_form_nteventlog.html.haml:      %tr{:onclick => remote_function(:url => {:action => 'ap_ce_select', :add => 'new', :item1 => "nteventlog", :id => "#{@scan.id || "new"}"}), :title => _("Click to add a new entry")}
app/views/ops/_ap_form_nteventlog.html.haml:            %td{:onclick => remote_function(:url => {:action => 'ap_ce_select', :entry_id => i, :item2 => "nteventlog", :nteventlog_name => nteventlog[:name], :edit_entry => 'edit_nteventlog', :field => "name", :id => "#{@scan.id || "new"}"}), :title => _("Click to update this entry")}
app/views/ops/_ap_form_nteventlog.html.haml:            %td{:onclick => remote_function(:url => {:action => 'ap_ce_select', :item2 => "nteventlog", :nteventlog_name => nteventlog[:name], :entry_id => i, :edit_entry => 'edit_nteventlog', :field => "name", :id => "#{@scan.id || "new"}"}), :title => _("Click to update this entry")}
app/views/ops/_ap_form_nteventlog.html.haml:            %td{:onclick => remote_function(:url => {:action => 'ap_ce_select', :item2 => "nteventlog", :nteventlog_name => nteventlog[:name], :entry_id => i, :edit_entry => 'edit_nteventlog', :field => "name", :id => "#{@scan.id || "new"}"}), :title => _("Click to update this entry")}
app/views/ops/_ap_form_nteventlog.html.haml:            %td{:onclick => remote_function(:url => {:action => 'ap_ce_select', :item2 => "nteventlog", :nteventlog_name => nteventlog[:name], :entry_id => i, :edit_entry => 'edit_nteventlog', :field => "name", :id => "#{@scan.id || "new"}"}), :title => _("Click to update this entry")}
app/views/ops/_ap_form_nteventlog.html.haml:            %td{:onclick => remote_function(:url => {:action => 'ap_ce_select', :item2 => "nteventlog", :nteventlog_name => nteventlog[:name], :entry_id => i, :edit_entry => 'edit_nteventlog', :field => "name", :id => "#{@scan.id || "new"}"}), :title => _("Click to update this entry")}
app/views/ops/_ap_form_nteventlog.html.haml:            %td.action-cell{:onclick => remote_function(:url => {:action => 'ap_ce_delete', :item2 => "nteventlog", :nteventlog_name => nteventlog[:name], :entry_id => i, :id => "#{@scan.id || "new"}"}), :title => _("Click to delete this entry")}
app/views/ops/_ap_form_registry.html.haml:        :onclick => remote_function(:url => {:action => 'ap_ce_select', :add => 'new', :item1 => "registry", :id => "#{@scan.id || "new"}"})}
app/views/ops/_ap_form_registry.html.haml:            - remote_link = remote_function(:url => url).to_str
app/views/ops/_ap_form_registry.html.haml:            - remote_link = remote_function(:url => url).to_str
app/views/ops/_classification_entry.html.haml:    %tr{:class => cycle('row0', 'row1'), :onclick => remote_function(:url => {:action => 'ce_select', :id => 'new'}), :title => _("Click to add a new entry")}
app/views/ops/_classification_entry.html.haml:      %td{:onclick => remote_function(:url => {:action => 'ce_select', :id => entry.id, :field => "name"}), :title => _("Click to update this entry")}
app/views/ops/_classification_entry.html.haml:      %td{:onclick => remote_function(:url => {:action => 'ce_select', :id => entry.id, :field => "description"}), :title => _("Click to update this entry")}
app/views/ops/_classification_entry.html.haml:        %button.btn.btn-default.btn-block.btn-sm{:onclick => remote_function(:url => {:action => 'ce_delete',
app/views/ops/_diagnostics_savedreports.html.haml:          - onclick = remote_function(:url => {:action => 'orphaned_records_delete', :userid => rec[:userid]}, :confirm => question)
app/views/ops/_ldap_forest_entries.html.haml:              %button.btn.btn-default{:type => 'button', :onclick => remote_function(:url => {:action => 'forest_select', :ldaphost_id => "new"}), :title => _("Click to add a new forest")}
app/views/ops/_ldap_forest_entries.html.haml:                  %button.btn.btn-default{:type => 'button', :onclick => remote_function(:url => {:action => 'forest_delete',
app/views/ops/_ldap_forest_entries.html.haml:                %td{:onclick => remote_function(:url => {:action => 'forest_select', :ldaphost_id => forest[:ldaphost].to_s}), :title => _("Click to edit this forest")}
app/views/ops/_ldap_forest_entries.html.haml:                %td{:onclick => remote_function(:url => {:action => 'forest_select', :ldaphost_id => forest[:ldaphost].to_s}), :title => _("Click to edit this forest")}
app/views/ops/_ldap_forest_entries.html.haml:                %td{:onclick => remote_function(:url => {:action => 'forest_select', :ldaphost_id => forest[:ldaphost].to_s}), :title => _("Click to edit this forest")}
app/views/ops/_ldap_forest_entries.html.haml:                %td{:onclick => remote_function(:url => {:action => 'forest_select', :ldaphost_id => forest[:ldaphost].to_s}), :title => _("Click to edit this forest")}
app/views/ops/_ldap_forest_entries.html.haml:                %td{:onclick => remote_function(:url => {:action => 'forest_select', :ldaphost_id => forest[:ldaphost].to_s}), :title => _("Click to edit this forest")}
app/views/ops/_ldap_forest_entries.html.haml:                %td{:onclick => remote_function(:url => {:action => 'forest_select', :ldaphost_id => forest[:ldaphost].to_s}), :title => _("Click to edit this forest")}
app/views/ops/_settings_co_categories_tab.html.haml:      %tr{:onclick => remote_function(:url => {:action => 'category_edit', :id => nil}), :title => _("Click to add a new category")}
app/views/ops/_settings_co_categories_tab.html.haml:          %td{:onclick => remote_function(:url => {:action => 'category_edit', :id => cat[:id]}), :title => t}
app/views/ops/_settings_co_categories_tab.html.haml:          %td{:onclick => remote_function(:url => {:action => 'category_edit', :id => cat[:id]}), :title => t}
app/views/ops/_settings_co_categories_tab.html.haml:          %td{:onclick => remote_function(:url => {:action => 'category_edit', :id => cat[:id]}), :title => t}
app/views/ops/_settings_co_categories_tab.html.haml:          %td{:onclick => remote_function(:url => {:action => 'category_edit', :id => cat[:id]}), :title => t}
app/views/ops/_settings_co_categories_tab.html.haml:          %td{:onclick => remote_function(:url => {:action => 'category_edit', :id => cat[:id]}), :title => t}
app/views/ops/_settings_co_categories_tab.html.haml:          %td{:onclick => remote_function(:url => {:action => 'category_edit', :id => cat[:id]}), :title => t}
app/views/ops/_settings_co_categories_tab.html.haml:            %td.action-cell{:onclick => remote_function(:url => {:action => 'category_delete',
app/views/ops/_settings_details_tab.html.haml:            %td.table-view-pf-select{:onclick => remote_function(:url => {:action => 'region_edit', :id => region.id},
app/views/ops/_settings_details_tab.html.haml:            %td{:onclick => remote_function(:url => {:action => 'region_edit', :id => region.id},
app/views/ops/_settings_label_tag_mapping_tab.html.haml:      %tr{:onclick => remote_function(:url => {:action => 'label_tag_mapping_edit', :id => nil}), :title => _("map a new label to tag")}
app/views/ops/_settings_label_tag_mapping_tab.html.haml:          %td{:onclick => remote_function(:url => {:action => 'label_tag_mapping_edit', :id => lt_map[:id]}), :title => t}
app/views/ops/_settings_label_tag_mapping_tab.html.haml:          %td{:onclick => remote_function(:url => {:action => 'label_tag_mapping_edit', :id => lt_map[:id]}), :title => t}
app/views/ops/_settings_label_tag_mapping_tab.html.haml:          %td{:onclick => remote_function(:url => {:action => 'label_tag_mapping_edit', :id => lt_map[:id]}), :title => t}
app/views/ops/_settings_label_tag_mapping_tab.html.haml:          %td.action-cell{:onclick => remote_function(:url => {:action => 'label_tag_mapping_delete',
app/views/report/_db_widget.html.haml:  - params = {:onclick => remote_function(:url => url), :id => widget.id, :title => _("View this Widget")}
spec/helpers/application_helper_spec.rb:  it 'output of remote_function should not be html_safe' do
spec/helpers/application_helper_spec.rb:    expect(helper.remote_function(:url => {:controller => 'vm_infra', :action => 'explorer'}).html_safe?).to be_falsey

@jrafanie
Copy link
Member

app/helpers/configuration_helper/configuration_view_helper.rb:                {:remote       => true,
app/views/catalog/_form_resources_info.html.haml:                    :remote                => true,
app/views/catalog/_sandt_tree_show.html.haml:                        :remote                => true,
app/views/condition/_form_expression.html.haml:               :remote                => true,
app/views/condition/_form_scope.html.haml:               :remote                => true,
app/views/dashboard/login.html.haml:                        :remote               => true,
app/views/dashboard/login.html.haml:                          :remote       => true,
app/views/dashboard/login.html.haml:                          :remote       => true,
app/views/layouts/_adv_search_footer.html.haml:                    :remote        => true,
app/views/layouts/_ae_tree_select.html.haml:                    :remote       => true,
app/views/layouts/_ae_tree_select.html.haml:                    :remote       => true,
app/views/layouts/_ae_tree_select.html.haml:                    :remote       => true,
app/views/layouts/_content.html.haml:                                :remote               => true,
app/views/layouts/_edit_to_email.html.haml:                        :remote                => true,
app/views/layouts/_exp_editor.html.haml:                        :remote                => true,
app/views/layouts/_exp_editor.html.haml:                           :remote                => true,
app/views/layouts/_filter_expression.html.haml:                   :remote => true,
app/views/layouts/_form_buttons_verify.html.haml:              :remote                => true,
app/views/layouts/_tabs.html.haml:                  :remote                => true,
app/views/layouts/_tabs.html.haml:                    :remote                => true,
app/views/layouts/_tabs.html.haml:                    :remote                      => true,
app/views/layouts/_user_input_filter.html.haml:                        :remote                => true,
app/views/layouts/_user_input_filter.html.haml:                      :remote       => true,
app/views/layouts/exp_atom/_edit_field.html.haml:            :remote                => true,
app/views/layouts/exp_atom/_edit_field.html.haml:            :remote                => true,
app/views/layouts/exp_atom/_edit_find.html.haml:            :remote                => true,
app/views/layouts/exp_atom/_edit_find.html.haml:            :remote                => true,
app/views/layouts/exp_atom/_edit_find.html.haml:                :remote                => true,
app/views/layouts/exp_atom/_edit_find.html.haml:                :remote                => true,
app/views/layouts/listnav/_compare_sections.html.haml:            :remote                => true,
app/views/layouts/listnav/_show_list.html.haml:                :remote       => true,
app/views/layouts/listnav/_show_list.html.haml:                :remote       => true,
app/views/layouts/listnav/_show_list.html.haml:      :remote                => true,
app/views/miq_ae_class/_class_fields.html.haml:                    :remote                => true,
app/views/miq_ae_class/_class_fields.html.haml:                  :remote                => true,
app/views/miq_ae_class/_embedded_methods.html.haml:                   :remote                => true,
app/views/miq_ae_class/_inputs.html.haml:              :remote                => true,
app/views/miq_ae_class/_inputs.html.haml:          :remote                => true,
app/views/miq_ae_class/_method_form.html.haml:                      :remote               => true,
app/views/miq_ae_customization/_dialog_import_export.html.haml:  = form_tag('import_service_dialogs', :id => 'import-service-dialogs', :remote => true) do
app/views/miq_ae_customization/_dialog_import_export.html.haml:  = form_tag('upload_import_file', :id => 'upload-service-dialogs', :remote => true) do
app/views/miq_ae_tools/_import_export.html.haml:            :remote               => true,
app/views/miq_ae_tools/_resolve_form_buttons.html.haml:      :remote               => true,
app/views/miq_ae_tools/_resolve_form_buttons.html.haml:      :remote               => true,
app/views/miq_ae_tools/_resolve_form_buttons.html.haml:      :remote                => true,
app/views/miq_ae_tools/_resolve_form_buttons.html.haml:      :remote                => true,
app/views/miq_policy/_event_edit.html.haml:                                    :remote => true,
app/views/miq_policy/_event_edit.html.haml:                                    :remote => true,
app/views/miq_policy/_event_edit.html.haml:                                    :remote => true,
app/views/miq_policy/_event_edit.html.haml:                                    :remote => true,
app/views/miq_policy/_form.html.haml:                                    :remote                => true,
app/views/miq_policy/_form_expression.html.haml:               :remote                => true,
app/views/miq_policy/_form_scope.html.haml:               :remote                => true,
app/views/miq_policy/_miq_policy_edit_conditions.haml:                                  :remote                => true,
app/views/miq_policy_export/_export.html.haml:                :remote                => true,
app/views/miq_policy_export/_export.html.haml:              :remote                => true,
app/views/miq_policy_export/_export.html.haml:              :remote                => true,
app/views/miq_policy_export/import.html.haml:                         :remote                 => true,
app/views/miq_policy_export/import.html.haml:                        :remote       => true,
app/views/miq_policy_rsop/_rsop_options.html.haml:      :remote               => true,
app/views/miq_policy_rsop/_rsop_options.html.haml:      :remote                => true,
app/views/miq_policy_rsop/_rsop_options.html.haml:      :remote                => true,
app/views/miq_request/_prov_configured_system_grid.html.haml:              :remote                => true)
app/views/miq_request/_prov_ds_grid.html.haml:              :remote                => true)
app/views/miq_request/_prov_host_grid.html.haml:                :remote                => true)
app/views/miq_request/_prov_iso_img_grid.html.haml:              :remote                => true)
app/views/miq_request/_prov_pxe_img_grid.html.haml:              :remote                => true)
app/views/miq_request/_prov_template_grid.html.haml:              :remote                => true)
app/views/miq_request/_prov_vc_grid.html.haml:              :remote                => true)
app/views/miq_request/_prov_vm_grid.html.haml:                  :remote                => true)
app/views/miq_request/_prov_windows_image_grid.html.haml:              :remote                => true)
app/views/miq_request/_request.html.haml:              :remote                => true,
app/views/ops/_amazon_verify_button.html.haml:    :remote                => true,
app/views/ops/_ap_form_file.html.haml:            :remote               => true,
app/views/ops/_ap_form_file.html.haml:                :remote               => true,
app/views/ops/_ap_form_nteventlog.html.haml:                                  :remote               => true,
app/views/ops/_ap_form_nteventlog.html.haml:                :remote               => true,
app/views/ops/_ap_form_registry.html.haml:                                  :remote               => true,
app/views/ops/_ap_form_registry.html.haml:                                                        :remote               => true,
app/views/ops/_classification_entry.html.haml:          :remote               => true,
app/views/ops/_classification_entry.html.haml:          :remote               => true,
app/views/ops/_email_verify_button.html.haml:    :remote                => true,
app/views/ops/_ldap_forest_entries.html.haml:             :remote => true,
app/views/ops/_ldap_verify_button.html.haml:    :remote                => true,
app/views/ops/_rbac_group_details.html.haml:                      :remote                => true,
app/views/report/_column_lists.html.haml:                                    :remote          => true,
app/views/report/_column_lists.html.haml:                                      :remote          => true,
app/views/report/_db_widget_remove.html.haml:  :remote               => true,
app/views/report/_export_widgets.html.haml:  = form_tag('import_widgets', :id => 'import-widgets-form', :remote => true) do
app/views/report/_form_expression_buttons.html.haml:          :remote                => true,
app/views/report/_form_preview.html.haml:        :remote               => true,
app/views/report/_menu_form1.html.haml:                  :remote               => true,
app/views/report/_menu_form1.html.haml:                  :remote               => true,
app/views/report/_menu_form2.html.haml:                    :remote               => true,
app/views/report/_menu_form2.html.haml:                    :remote               => true,
app/views/report/_menu_form2.html.haml:                    :remote               => true,
app/views/report/_menu_form2.html.haml:                    :remote               => true,
app/views/report/_menu_form2.html.haml:                    :remote               => true,
app/views/report/_menu_form2.html.haml:                    :remote               => true,
app/views/report/_menu_form2.html.haml:                    :remote               => true,
app/views/report/_menu_form2.html.haml:                    :remote               => true,
app/views/report/_widget_form_menu.html.haml:                :remote               => true,
app/views/report/_widget_form_menu.html.haml:                :remote               => true,
app/views/shared/buttons/_ab_form.html.haml:          :remote                => true,
app/views/shared/buttons/_column_lists.html.haml:                                :remote          => true,
app/views/shared/buttons/_column_lists.html.haml:                                :remote          => true,
app/views/shared/buttons/_column_lists.html.haml:                                :remote          => true,
app/views/shared/buttons/_column_lists.html.haml:                                :remote          => true,
app/views/shared/buttons/_column_lists.html.haml:                                :remote          => true,
app/views/shared/buttons/_column_lists.html.haml:                                :remote          => true,
app/views/shared/buttons/_group_order_form.html.haml:                                        :remote          => true,
app/views/shared/buttons/_group_order_form.html.haml:                                        :remote          => true,
app/views/shared/views/_seq_selector_buttons.html.haml:                                        :remote                => true,

@jrafanie
Copy link
Member

@jrafanie
Copy link
Member

jrafanie commented Sep 12, 2022

TODO:

@jrafanie
Copy link
Member

It's mentioned in #5585 that jquery updates are blocked by rjs along with other technical debt items.

@ManageIQ ManageIQ deleted a comment from miq-bot Sep 14, 2022
@miq-bot miq-bot added the stale label Feb 27, 2023
@miq-bot
Copy link
Member

miq-bot commented Feb 27, 2023

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

@Fryguy Fryguy removed the stale label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants