mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-21 07:51:12 +00:00
Select proper tracker and status for when hitting F5 with browsers that preserve select values on reload, eg. Firefox (#16259).
git-svn-id: http://svn.redmine.org/redmine/trunk@12970 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
995ae083cd
commit
218e5f40a1
@ -45,3 +45,11 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% heads_for_wiki_formatter %>
|
<% 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 %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user