From df7f00afce689498c6f503e1b34bf9502746f91f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 29 Mar 2014 14:36:29 +0000 Subject: [PATCH] Merged r12970 (#16259). git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@13021 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_form.html.erb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb index e968963d2..401789c13 100644 --- a/app/views/issues/_form.html.erb +++ b/app/views/issues/_form.html.erb @@ -45,3 +45,11 @@ <% end %> <% heads_for_wiki_formatter %> + +<%= javascript_tag do %> +$(document).ready(function(){ + $("#issue_tracker_id, #issue_status_id").each(function(){ + $(this).val($(this).find("option[selected=selected]").val()); + }); +}); +<% end %> -- 2.39.5