summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-07-25 10:44:45 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-07-27 15:03:04 +0200
commit364a2a2759feb28c3dbc006b79ec81c123aba7bc (patch)
tree88dfef693772f91dbcd0f638ac6e6cf499bbc9d1
parent2cc1658489fe2d2de4052db36b21a788195cfc1b (diff)
downloadgitlab-ce-364a2a2759feb28c3dbc006b79ec81c123aba7bc.tar.gz
Set New Tags to ignore Inline JS
-rw-r--r--app/views/projects/tags/new.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/tags/new.html.haml b/app/views/projects/tags/new.html.haml
index f1bbaf40387..ceb2547034a 100644
--- a/app/views/projects/tags/new.html.haml
+++ b/app/views/projects/tags/new.html.haml
@@ -41,6 +41,7 @@
= button_tag 'Create tag', class: 'btn btn-create', tabindex: 3
= link_to 'Cancel', project_tags_path(@project), class: 'btn btn-cancel'
+-# haml-lint:disable InlineJavaScript
:javascript
window.gl = window.gl || { };
window.gl.availableRefs = #{@project.repository.ref_names.to_json};