Commit 96520227 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Prevent Firefox from remembering hidden field value

parent 6eb75ed6
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
text: @merge_request.merge_commit_message, text: @merge_request.merge_commit_message,
rows: 14, hint: true rows: 14, hint: true
= hidden_field_tag :merge_when_build_succeeds, "" = hidden_field_tag :merge_when_build_succeeds, "", autocomplete: "off"
:javascript :javascript
$('.accept_merge_request').on('click', function() { $('.accept_merge_request').on('click', function() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment