mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-04 06:39:38 +00:00
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17320 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 lines
437 B
Plaintext
10 lines
437 B
Plaintext
replaceIssueFormWith('<%= escape_javascript(render :partial => 'form') %>');
|
|
<% case params[:form_update_triggered_by] %>
|
|
<% when "issue_project_id" %>
|
|
$("#watchers_form_container").html('<%= escape_javascript(render :partial => 'issues/watchers_form') %>');
|
|
<% when "issue_category_id" %>
|
|
<% if @issue.assigned_to_id.blank? %>
|
|
$('#issue_assigned_to_id').val('<%= @issue.category.try(:assigned_to_id) %>');
|
|
<% end %>
|
|
<% end %>
|