diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-07 16:13:21 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-07 16:19:11 +0200 |
commit | 7461072f36d88254b2bc5d696061c7c0f5b8fe86 (patch) | |
tree | 4220436aac0fddd463eedbee92d9d57572a046f4 /app/views/projects/triggers/_form.html.haml | |
parent | 7cee650d0c75c0b9c229965711437779b847130f (diff) | |
download | gitlab-ce-7461072f36d88254b2bc5d696061c7c0f5b8fe86.tar.gz |
Update code to remove no longer needed changes
Diffstat (limited to 'app/views/projects/triggers/_form.html.haml')
-rw-r--r-- | app/views/projects/triggers/_form.html.haml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/views/projects/triggers/_form.html.haml b/app/views/projects/triggers/_form.html.haml index 41e73f1e822..8ec2f05e3d6 100644 --- a/app/views/projects/triggers/_form.html.haml +++ b/app/views/projects/triggers/_form.html.haml @@ -31,9 +31,3 @@ = schedule_fields.text_field :ref, class: "form-control", title: 'Branch or tag is required.', placeholder: "master" .help-block Existing branch name, tag = f.submit btn_text, class: "btn btn-save" - - -:javascript - var availableRefs = #{@project.repository.ref_names.to_json}; - - new NewBranchForm($('.js-new-pipeline-form'), availableRefs) |