diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-08-07 16:11:27 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-08-07 16:11:27 -0500 |
commit | a837664cb06463b0cb3eaf72146e6a99350a4236 (patch) | |
tree | c13e9107f78b6b15bed86aacf3e187207d9b32f9 /app/views/projects | |
parent | 7767ceef47a57baf2bc03f609e3dbf77ed44c9aa (diff) | |
download | gitlab-ce-a837664cb06463b0cb3eaf72146e6a99350a4236.tar.gz |
fix inline javascript causing old-style repo view to break
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/tree/_old_tree_content.html.haml | 6 |
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)}"); - }); |