Files
gitlabhq/app/views/projects
Rémy CoutableandYorick Peterse 778b1f46b4 Merge branch 'rs-diff_view' into 'master'
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 and https://gitlab.com/gitlab-org/gitlab-ce/issues/15285

See merge request !3732
2016-04-22 10:56:04 +02:00
..
2016-03-10 08:39:47 +00:00
2016-04-01 09:01:44 -05:00
2016-04-14 12:33:29 -05:00
2015-11-18 12:02:09 +01:00
2016-04-14 09:13:32 +01:00
2016-04-14 10:28:05 +01:00
2016-04-19 22:01:51 +02:00
2015-12-11 18:02:10 +01:00
2015-09-15 11:02:37 +02:00
2016-02-04 13:03:41 -05:00
2015-02-14 11:09:23 -07:00