diff --git a/app/views/queries/_columns.html.erb b/app/views/queries/_columns.html.erb
index 7c1f8d5ab..5e665fd75 100644
--- a/app/views/queries/_columns.html.erb
+++ b/app/views/queries/_columns.html.erb
@@ -17,10 +17,10 @@
<%= label_tag "selected_columns", l(:description_selected_columns) %>
- <%= select_tag 'c[]',
+ <%= select_tag((defined?(tag_name) ? tag_name : 'c[]'),
options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px",
- :ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
+ :ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);") %>
|
diff --git a/app/views/settings/_issues.html.erb b/app/views/settings/_issues.html.erb
index 429685638..6c9bf4553 100644
--- a/app/views/settings/_issues.html.erb
+++ b/app/views/settings/_issues.html.erb
@@ -1,4 +1,4 @@
-<%= form_tag({:action => 'edit', :tab => 'issues'}) do %>
+<%= form_tag({:action => 'edit', :tab => 'issues'}, :onsubmit => 'selectAllOptions("selected_columns");') do %>
<%= setting_check_box :cross_project_issue_relations %>
@@ -16,9 +16,13 @@
<%= setting_text_field :gantt_items_limit, :size => 6 %>
- |