Merge branch 'mr-new-page-changing-url' into 'master'

Stop new merge request page tabs updating the URL

Closes #30419

See merge request !10471
This commit is contained in:
Alfredo Sumaran 2017-04-07 06:18:03 +00:00
commit 6ea35f9824
2 changed files with 6 additions and 1 deletions

View file

@ -53,5 +53,6 @@
:javascript
var merge_request = new MergeRequest({
action: "#{(@show_changes_tab ? 'new/diffs' : 'new')}"
action: "#{(@show_changes_tab ? 'new/diffs' : 'new')}",
setUrl: false,
});

View file

@ -0,0 +1,4 @@
---
title: Fixed tabs on new merge request page causing incorrect URLs
merge_request:
author: