To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / repositories / add_related_issue.js.erb @ 1531:ae8145b28b2b
History | View | Annotate | Download (326 Bytes)
| 1 |
<% if @issue %>
|
|---|---|
| 2 |
$('#related-issues').html('<%= escape_javascript(render :partial => "related_issues") %>');
|
| 3 |
$('#related-issue-<%= @issue.id %>').effect("highlight");
|
| 4 |
$('#issue_id').focus();
|
| 5 |
<% else %>
|
| 6 |
alert("<%= raw(escape_javascript(l(:label_issue) + ' ' + l('activerecord.errors.messages.invalid'))) %>");
|
| 7 |
<% end %>
|