Commit 364a2a27 authored by Tim Zallmann's avatar Tim Zallmann

Set New Tags to ignore Inline JS

parent 2cc16584
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
= button_tag 'Create tag', class: 'btn btn-create', tabindex: 3 = button_tag 'Create tag', class: 'btn btn-create', tabindex: 3
= link_to 'Cancel', project_tags_path(@project), class: 'btn btn-cancel' = link_to 'Cancel', project_tags_path(@project), class: 'btn btn-cancel'
-# haml-lint:disable InlineJavaScript
:javascript :javascript
window.gl = window.gl || { }; window.gl = window.gl || { };
window.gl.availableRefs = #{@project.repository.ref_names.to_json}; window.gl.availableRefs = #{@project.repository.ref_names.to_json};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment