socialforge/app/views/repositories/add_related_issue.js.erb

8 lines
326 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<% if @issue %>
$('#related-issues').html('<%= escape_javascript(render :partial => "related_issues") %>');
$('#related-issue-<%= @issue.id %>').effect("highlight");
$('#issue_id').focus();
<% else %>
alert("<%= raw(escape_javascript(l(:label_issue) + ' ' + l('activerecord.errors.messages.invalid'))) %>");
<% end %>