From a2997b8f78ee1771eca0c7487f0033460761a5e9 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 30 Jan 2022 09:24:37 +0000 Subject: [PATCH] Remove sidebar with invalid query links from imports views (#36524). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21390 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/imports/mapping.html.erb | 2 -- app/views/imports/new.html.erb | 2 -- app/views/imports/run.html.erb | 2 -- app/views/imports/settings.html.erb | 2 -- app/views/imports/show.html.erb | 2 -- 5 files changed, 10 deletions(-) diff --git a/app/views/imports/mapping.html.erb b/app/views/imports/mapping.html.erb index 448ed8e0d..84089d99a 100644 --- a/app/views/imports/mapping.html.erb +++ b/app/views/imports/mapping.html.erb @@ -23,8 +23,6 @@

<% end %> -<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %> - <%= javascript_tag do %> $(document).ready(function() { $('#import-form').submit(function(){ diff --git a/app/views/imports/new.html.erb b/app/views/imports/new.html.erb index e91ea80a7..cfb4a58f7 100644 --- a/app/views/imports/new.html.erb +++ b/app/views/imports/new.html.erb @@ -11,5 +11,3 @@

<%= submit_tag l(:label_next).html_safe + " »".html_safe, :name => nil %>

<% end %> - -<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %> diff --git a/app/views/imports/run.html.erb b/app/views/imports/run.html.erb index 4a1650f43..950ba3556 100644 --- a/app/views/imports/run.html.erb +++ b/app/views/imports/run.html.erb @@ -4,8 +4,6 @@
0 / <%= @import.total_items.to_i %>
-<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %> - <%= javascript_tag do %> $(document).ready(function() { $('#import-details').addClass('ajax-loading'); diff --git a/app/views/imports/settings.html.erb b/app/views/imports/settings.html.erb index 09a7d5d6f..1342b55fb 100644 --- a/app/views/imports/settings.html.erb +++ b/app/views/imports/settings.html.erb @@ -30,5 +30,3 @@

<%= submit_tag l(:label_next).html_safe + " »".html_safe, :name => nil %>

<% end %> - -<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %> diff --git a/app/views/imports/show.html.erb b/app/views/imports/show.html.erb index 6530812ac..cb698f018 100644 --- a/app/views/imports/show.html.erb +++ b/app/views/imports/show.html.erb @@ -26,5 +26,3 @@ <% end %> - -<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %> -- 2.39.5