diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-27 15:38:13 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-27 15:38:13 +0100 |
commit | fe24c0a875fa1d6f561a5b228cf71d0c9da671af (patch) | |
tree | 3178f947489608facfc2dfd2b509ac8e8e3d8d6e /changelogs | |
parent | aaf435d16435bf3fbcfc2ab80071485ddb6bcf01 (diff) | |
download | gitlab-ce-fe24c0a875fa1d6f561a5b228cf71d0c9da671af.tar.gz |
Fixes commit comments in side-by-side diff viewcommit-side-by-side-comment
This was caused by the `notes` global class not existing when the
`file_comment_button` code is run. The notes class was used to check
if the diff is currently in parallel view or not. To get around this
I've added a check into the `file_comment_button` JS to check if the
view is currently parallel or not.
Closes #38117
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/commit-side-by-side-comment.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/commit-side-by-side-comment.yml b/changelogs/unreleased/commit-side-by-side-comment.yml new file mode 100644 index 00000000000..f9bea285a77 --- /dev/null +++ b/changelogs/unreleased/commit-side-by-side-comment.yml @@ -0,0 +1,5 @@ +--- +title: Fixed commenting on side-by-side commit diff +merge_request: +author: +type: fixed |