diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-02-20 22:43:37 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-03-02 01:10:04 +0300 |
commit | 84e01b3e7a521c66077245a62247bd47a3731ddb (patch) | |
tree | 16a3be2872fd365f9606fc39765fce285a619dca /app/views/projects/milestones | |
parent | d5c001864964afb73efca0c6b592f8a1e4d152b9 (diff) |
Changed selector names, address code concerns
Diffstat (limited to 'app/views/projects/milestones')
-rw-r--r-- | app/views/projects/milestones/show.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml index 630a0583359..baf9dd465c0 100644 --- a/app/views/projects/milestones/show.html.haml +++ b/app/views/projects/milestones/show.html.haml @@ -27,12 +27,12 @@ Edit - if @project.group - %button.js-promote-project-milestone.btn.btn-grouped{ data: { toggle: 'modal', + %button.js-promote-project-milestone-button.btn.btn-grouped{ data: { toggle: 'modal', target: '#promote-milestone-modal', milestone_title: @milestone.title, url: promote_project_milestone_path(@milestone.project, @milestone), - container: 'body', - disabled: true } } + container: 'body' }, + disabled: true } = _('Promote') #promote-milestone-modal |