diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2019-05-19 19:46:00 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2019-05-19 19:46:00 +0000 |
commit | ee48f60518eed270d3272844b9f6d8b35087bbbc (patch) | |
tree | a2bda711c7c7d7392b566d030ce47c0f1db539c7 | |
parent | cddf9b875a25814e20f3209f04c00c95847f38c2 (diff) | |
parent | 84043fa72ca7f83ae9cde48ad670e6d5d16501a3 (diff) | |
download | gitlab-ce-ee48f60518eed270d3272844b9f6d8b35087bbbc.tar.gz |
Merge branch '61795-fix-error-when-moving-issues' into 'master'
Prevent form submit when Move is clicked
Closes #61795
See merge request gitlab-org/gitlab-ce!28317
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 2 | ||||
-rw-r--r-- | changelogs/unreleased/61795-fix-error-when-moving-issues.yml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml index 2c185549b24..63557c882f4 100644 --- a/app/views/shared/issuable/_sidebar.html.haml +++ b/app/views/shared/issuable/_sidebar.html.haml @@ -164,7 +164,7 @@ = dropdown_content = dropdown_loading = dropdown_footer add_content_class: true do - %button.btn.btn-success.sidebar-move-issue-confirmation-button.js-move-issue-confirmation-button{ disabled: true } + %button.btn.btn-success.sidebar-move-issue-confirmation-button.js-move-issue-confirmation-button{ type: 'button', disabled: true } = _('Move') = icon('spinner spin', class: 'sidebar-move-issue-confirmation-loading-icon') diff --git a/changelogs/unreleased/61795-fix-error-when-moving-issues.yml b/changelogs/unreleased/61795-fix-error-when-moving-issues.yml new file mode 100644 index 00000000000..6812baa07c3 --- /dev/null +++ b/changelogs/unreleased/61795-fix-error-when-moving-issues.yml @@ -0,0 +1,5 @@ +--- +title: Remove unintended error message shown when moving issues +merge_request: 28317 +author: +type: fixed |