BigW Consortium Gitlab
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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
application_helper_spec.rb | Loading commit data... | |
auth_helper_spec.rb | Loading commit data... | |
blob_helper_spec.rb | Loading commit data... | |
broadcast_messages_helper_spec.rb | Loading commit data... | |
ci_status_helper_spec.rb | Loading commit data... | |
commits_helper_spec.rb | Loading commit data... | |
diff_helper_spec.rb | Loading commit data... | |
emails_helper_spec.rb | Loading commit data... | |
events_helper_spec.rb | Loading commit data... | |
form_helper_spec.rb | Loading commit data... | |
gitlab_markdown_helper_spec.rb | Loading commit data... | |
graph_helper_spec.rb | Loading commit data... | |
groups_helper_spec.rb | Loading commit data... | |
icons_helper_spec.rb | Loading commit data... | |
import_helper_spec.rb | Loading commit data... | |
issues_helper_spec.rb | Loading commit data... | |
labels_helper_spec.rb | Loading commit data... | |
merge_requests_helper_spec.rb | Loading commit data... | |
nav_helper_spec.rb | Loading commit data... | |
notifications_helper_spec.rb | Loading commit data... | |
page_layout_helper_spec.rb | Loading commit data... | |
preferences_helper_spec.rb | Loading commit data... | |
projects_helper_spec.rb | Loading commit data... | |
runners_helper_spec.rb | Loading commit data... | |
search_helper_spec.rb | Loading commit data... | |
submodule_helper_spec.rb | Loading commit data... | |
tab_helper_spec.rb | Loading commit data... | |
time_helper_spec.rb | Loading commit data... | |
tree_helper_spec.rb | Loading commit data... | |
visibility_level_helper_spec.rb | Loading commit data... |