Skip to content

Commit

Permalink
Disable restart button if upload completed
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Aug 7, 2015
1 parent 960d9e5 commit 2d332e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions client/galaxy/scripts/mvc/upload/composite/composite-view.js
Expand Up @@ -199,6 +199,9 @@ return Backbone.View.extend({
this.select_extension.enable();
this.$('#upload-info').html('You can Drag & Drop files into the rows.');
}
if (this.collection.length == this.collection.where({ status : 'success' }).length) {
this.btnStart.disable();
}

// table visibility
if (this.collection.length > 0) {
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/upload/composite/composite-view.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-view.js

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

0 comments on commit 2d332e9

Please sign in to comment.