Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/Airistotal/galaxy into Repor…
Browse files Browse the repository at this point in the history
…ts_pages
  • Loading branch information
Airistotal committed Aug 11, 2015
2 parents d6ef045 + a04147d commit 21ab4d2
Show file tree
Hide file tree
Showing 71 changed files with 1,528 additions and 572 deletions.
20 changes: 14 additions & 6 deletions client/galaxy/scripts/mvc/upload/upload-view.js
Expand Up @@ -641,22 +641,30 @@ return Backbone.View.extend({
*/

// update reset button
if (this.counter.running == 0 && this.counter.announce + this.counter.success + this.counter.error > 0)
if (this.counter.running == 0 && this.counter.announce + this.counter.success + this.counter.error > 0){
this.modal.enableButton('Reset');
else
}
else{
this.modal.disableButton('Reset');
}

// update upload button
if (this.counter.running == 0 && this.counter.announce > 0)
if (this.counter.running == 0 && this.counter.announce > 0){
this.modal.enableButton('Start');
else
$('#button-3').addClass('btn-primary');
}
else {
this.modal.disableButton('Start');
$('#button-3').removeClass('btn-primary');
}

// pause upload button
if (this.counter.running > 0)
if (this.counter.running > 0){
this.modal.enableButton('Pause');
else
}
else{
this.modal.disableButton('Pause');
}

// select upload button
if (this.counter.running == 0){
Expand Down

0 comments on commit 21ab4d2

Please sign in to comment.