summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-04-07 06:18:03 +0000
committerAlfredo Sumaran <alfredo@gitlab.com>2017-04-07 06:18:03 +0000
commit6ea35f98241b351747dd445738be58e3d65cafa2 (patch)
treee275f29504ad77578b637cf0b9524feb4b094cac /app
parent30c8849962f04a69f01a10849105ae549c4e4d26 (diff)
parentd0821ae66785b18ba7af017b9498e53d3002e835 (diff)
downloadgitlab-ce-6ea35f98241b351747dd445738be58e3d65cafa2.tar.gz
Merge branch 'mr-new-page-changing-url' into 'master'
Stop new merge request page tabs updating the URL Closes #30419 See merge request !10471
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/merge_requests/_new_submit.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/_new_submit.html.haml b/app/views/projects/merge_requests/_new_submit.html.haml
index e7fcac4c477..03069804c86 100644
--- a/app/views/projects/merge_requests/_new_submit.html.haml
+++ b/app/views/projects/merge_requests/_new_submit.html.haml
@@ -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,
});