Commit 651a0dd5fe0bd443f71610e9bfa2224461ab030f
Exists in
spb-stable
and in
3 other branches
Merge pull request #5934 from dblessing/fix/issue_update_js
Fix issue update js
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/projects/issues/show.html.haml
app/views/projects/issues/update.js.haml
| ... | ... | @@ -8,6 +8,6 @@ |
| 8 | 8 | $('.chosen').chosen(); |
| 9 | 9 | $('.edit-issue.inline-update input[type="submit"]').hide(); |
| 10 | 10 | - if @issue.milestone |
| 11 | - $('.milestone-nav-link').replaceWith("#{escape_javascript(link_to "| #{@issue.milestone.title}", project_milestone_path(@issue.project, @issue.milestone), :class => 'milestone-nav-link')}") | |
| 11 | + $('.milestone-nav-link').replaceWith("<span class='milestone-nav-link'>| <span class='light'>Milestone</span> #{escape_javascript(link_to @issue.milestone.title, project_milestone_path(@issue.project, @issue.milestone))}</span>") | |
| 12 | 12 | - else |
| 13 | 13 | $('.milestone-nav-link').html('') | ... | ... |