Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-02-03 22:45:08 +0300
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-02-03 22:45:08 +0300
commitd6d3a132b887c286b5b74e2a14be327f3a302d26 (patch)
treead8b7f0bb71b99ba44a2180c4a421db846dd9def
parent599e554ad4df76e0ec270aa0756a98b9044e877f (diff)
Fix sidebar replacement for issues & MRs
-rw-r--r--app/views/projects/issues/update.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/update.js.haml b/app/views/projects/issues/update.js.haml
index 3cec66d262b..c8e79ade110 100644
--- a/app/views/projects/issues/update.js.haml
+++ b/app/views/projects/issues/update.js.haml
@@ -1,3 +1,3 @@
-$('aside.right-sidebar').parent().html("#{escape_javascript(render 'shared/issuable/sidebar', issuable: @issue)}");
+$('aside.right-sidebar')[0].outerHTML = "#{escape_javascript(render 'shared/issuable/sidebar', issuable: @issue)}");
$('aside.right-sidebar').effect('highlight')
new Issue(); \ No newline at end of file