Close revert and cherry-pick modal on escape keypress

This commit is contained in:
George Tsiolis 2018-07-03 18:12:49 +03:00
parent ddae884c1a
commit 734a9d80df

View file

@ -11,7 +11,7 @@
- branch_label = s_('ChangeTypeActionLabel|Pick into branch')
- title = commit.merged_merge_request(current_user) ? _('Cherry-pick this merge request') : _('Cherry-pick this commit')
.modal{ id: "modal-#{type}-commit" }
.modal{ id: "modal-#{type}-commit", tabindex: -1 }
.modal-dialog
.modal-content
.modal-header