GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit bb81eff4 authored by Jacob Schatz's avatar Jacob Schatz

Issue sidebar bug fix.

Thanks @rspeicher.
parent d6d3a132
......@@ -98,9 +98,7 @@ def update
format.json do
render json: {
saved: @issue.valid?,
assignee_avatar_url: @issue.assignee.try(:avatar_url),
milestone: @issue.milestone.title,
labels: @issue.labels.pluck(:id,:title,:color)
assignee_avatar_url: @issue.assignee.try(:avatar_url)
$('aside.right-sidebar')[0].outerHTML = "#{escape_javascript(render 'shared/issuable/sidebar', issuable: @issue)}");
$('aside.right-sidebar')[0].outerHTML = "#{escape_javascript(render 'shared/issuable/sidebar', issuable: @issue)}";
new Issue();
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment