Files
gitlabhq/app/helpers
Rémy Coutable 5a8873f362 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 07:49:46 +00:00
..
2016-04-15 18:18:31 +01:00
2015-12-11 18:02:09 +01:00
2016-04-13 15:58:22 +02:00
2015-12-15 00:53:52 -02:00
2016-04-13 15:58:22 +02:00
2015-12-11 18:02:09 +01:00
2016-03-02 17:06:01 +00:00
2016-04-20 15:43:32 -04:00
2016-02-18 16:16:32 -05:00
2016-04-07 15:33:18 -07:00
2016-03-05 18:12:17 -05:00
2015-09-29 16:26:40 +02:00
2015-12-11 18:02:09 +01:00
2016-03-22 00:09:20 +01:00