summaryrefslogtreecommitdiff
path: root/app/views/projects/tree
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-07 16:11:27 -0500
committerMike Greiling <mike@pixelcog.com>2017-08-07 16:11:27 -0500
commita837664cb06463b0cb3eaf72146e6a99350a4236 (patch)
treec13e9107f78b6b15bed86aacf3e187207d9b32f9 /app/views/projects/tree
parent7767ceef47a57baf2bc03f609e3dbf77ed44c9aa (diff)
downloadgitlab-ce-a837664cb06463b0cb3eaf72146e6a99350a4236.tar.gz
fix inline javascript causing old-style repo view to break
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r--app/views/projects/tree/_old_tree_content.html.haml6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/views/projects/tree/_old_tree_content.html.haml b/app/views/projects/tree/_old_tree_content.html.haml
index c1b96b406af..820b947804e 100644
--- a/app/views/projects/tree/_old_tree_content.html.haml
+++ b/app/views/projects/tree/_old_tree_content.html.haml
@@ -22,9 +22,3 @@
- if can_edit_tree?
= render 'projects/blob/upload', title: _('Upload New File'), placeholder: _('Upload New File'), button_title: _('Upload file'), form_path: project_create_blob_path(@project, @id), method: :post
= render 'projects/blob/new_dir'
-
-:javascript
- // Load last commit log for each file in tree
- $('#tree-slider').waitForImages(function() {
- gl.utils.ajaxGet("#{escape_javascript(@logs_path)}");
- });