diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-04-14 17:32:46 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-04-14 17:38:34 -0400 |
commit | 90a67a76d5b852c62b59dd52b9dafd58722f2237 (patch) | |
tree | 24434a459f5a90b007442aa58976109f216b1a68 /Gemfile | |
parent | ba18e0b208e7b07b2992fad984c5160e94797ba0 (diff) | |
download | gitlab-ce-90a67a76d5b852c62b59dd52b9dafd58722f2237.tar.gz |
Always read diff_view setting from the cookie
Prior, when the user had their view set to "parallel" and then visited a
merge request's changes tab _without_ passing the `view` parameter via
query string, the view would be parallel but the `Notes` class was
always instantiated with the default value from `diff_view` ("inline"),
resulting in broken markup when the form to add a line note was
dynamically inserted.
The cookie is set whenever the view is changed, so this value should
always be up-to-date.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14557
Diffstat (limited to 'Gemfile')
0 files changed, 0 insertions, 0 deletions