]> source.dussan.org Git - redmine.git/commitdiff
Merged r12970 (#16259).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 29 Mar 2014 14:36:29 +0000 (14:36 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 29 Mar 2014 14:36:29 +0000 (14:36 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@13021 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_form.html.erb

index e968963d29f9cb9df391c675e6db5c8603ae4f29..401789c13a59ced3b0c66540df31a730cbf87eea 100644 (file)
 <% 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 %>