fix inline javascript causing old-style repo view to break

This commit is contained in:
Mike Greiling 2017-08-07 16:11:27 -05:00
parent 7767ceef47
commit a837664cb0
1 changed files with 0 additions and 6 deletions

View File

@ -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)}");
});