Skip to content

Commit

Permalink
Remove mode icon from row
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jul 29, 2015
1 parent e5d61f3 commit fb190f6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
20 changes: 0 additions & 20 deletions client/galaxy/scripts/mvc/upload/composite/composite-row.js
Expand Up @@ -125,11 +125,6 @@ return Backbone.View.extend({
// update info
it.find('#size').html(Utils.bytesToString (file_size));

// remove mode class
it.find('#mode')
.removeClass()
.addClass('mode');

// activate text field if file is new
if (file_mode == 'new') {
// get text component
Expand All @@ -149,21 +144,6 @@ return Backbone.View.extend({

// show text field
text.show();

// update icon
it.find('#mode').addClass('fa fa-pencil');
}

// file from local disk
if (file_mode == 'local') {
// update icon
it.find('#mode').addClass('fa fa-laptop');
}

// file from ftp
if (file_mode == 'ftp') {
// update icon
it.find('#mode').addClass('fa fa-code-fork');
}
},

Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/upload/composite/composite-row.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/scripts/mvc/upload/composite/composite-row.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fb190f6

Please sign in to comment.