summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2018-03-01 16:09:25 -0600
committerJose Ivan Vargas <jvargas@gitlab.com>2018-03-06 16:32:26 -0600
commita16547e5c2d42bfe7af025556e90f0f895a97f59 (patch)
tree093a4c25545f78454fda80c681570e264aab143b /app/views/projects/milestones
parentf42397d19a735de2e5ae38725270614826ec05da (diff)
downloadgitlab-ce-a16547e5c2d42bfe7af025556e90f0f895a97f59.tar.gz
used respond_to formats for persisting flash messages insteadjivl-new-modal-project-labels-milestones
Diffstat (limited to 'app/views/projects/milestones')
-rw-r--r--app/views/projects/milestones/show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index baf9dd465c0..b423888c875 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -32,7 +32,8 @@
milestone_title: @milestone.title,
url: promote_project_milestone_path(@milestone.project, @milestone),
container: 'body' },
- disabled: true }
+ disabled: true,
+ type: 'button' }
= _('Promote')
#promote-milestone-modal